Mounting a smb share from fstab

Grant Wagner kithera at
Tue Feb 20 17:40:22 UTC 2007

Hi Folks,

  I'm attempting to mount a guest smb share on my server at boot up.
set up a .nsmbrc file which will get me past a password login if I
try to
mount it after a log in, and I've added the following line to my
fstab file.

//guest at server/DataHeap /mnt/server smbfs rw 0 0

Now, since my .nsmbrc file is in my home directory, it's clearly not
during boot up and the whole process pauses waiting for me to input
an empty

Can I somehow add a flag to fstab to tell it it's only a guest
account and
thus doesn't need a password or perhaps move the .nsmbfs file
where it's picked up at boot time? Any ideas?


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.

More information about the freebsd-questions mailing list