How can I specify the ipaddress in smbfs entry in fstab?

Radek Kozlowski radek at raadradd.com
Wed Nov 3 17:41:23 PST 2004


On Wed, Nov 03, 2004 at 05:05:47PM -0800, Mark Jayson Alvarez wrote:
> Good day!
>    I wanted to mount our samba server whenever my
> computer boots so I added an entry in fstab like this
> 
> 
>                          mountpt
> //guest at samba/mp3s       /mp3
> 
> 
> but I have no idea how will I specify the ip address
> of the server.
> 
> using the mount_smbfs, I can mount it by providing the
> "-I ipaddress" option.
> 
> Do you know how will I tell the fstab to add that
> information? I've been reading the fstab manpages and
> also the mount_smbfs but nothing helps. 

//guest at samba/mp3s	/mp3	smbfs	-I=192.168.1.1,noauto ...

-Radek


More information about the freebsd-questions mailing list