[luau] fstab & smd mounts
Yuser
yuser at hi.net
Fri Sep 20 15:19:00 PDT 2002
> Is it possible to add an entry into fstab to mount a smbfs
> automatically at boot up? What
would the entry look like?
>
Have you considered autofs? IMHO a much better method for
mounting frequently used remote file systems.
Once you get autofs going (man autofs,
automount, and auto.master), an entry in auto.misc like this:
test -
fstype=smbfs,username=tridge,password=foobar ://fjall/test
will mount the smb
share from //fjall/test in /misc/test whenever it is needed and dismount
after a presetinactive period.
for regular mounting use:
mount -t smbfs -o
username=tridge,password=foobar //fjall/test /misc/test
(ripped from man
smbmount)
More information about the LUAU
mailing list