On Fri Jan 15 1999 at 13:16, Anders Eriksson wrote:
> Is it possible to enter smbmounts ino the fstab file and (preferably) the
> autofs system.
No, not from /etc/fstab with "mount -a". mount doesn't know about
smbmount (although you can use umount on them).
> I'm currently doing smbmounts in rc.local and would like to
> move them to autofs.
Actually, the nfs filesystems should be mounted separately from the
local filesystems, and this is a GoodThing(TM).
> I'm running R.H 5.1.
Ahh, a system with REAL sysV bootup configuration! :-)
Redhat uses a /etc/rc.d/init.d/nfsfs script to do this, and it would
be almost trivial to either:
- edit this file to include a call to smbmount,
or, much more preferably:
- add a smbmount script to that directory, and add an appropriate
symbolic link to the /etc/rc.d.rc?.d/ directories to stop/start it.
This script should source an appropriate configuration file, eg,
/etc/sysconfig/smbmount, to make how it works easy to modify.
Check out the other scripts in /etc/rc.d/init.d/ (eg, gpm) to see
how it all works. (Very cleaver, actually).
If you do make a smbmount boot script setup, then don't forget to save
it all somewhere before you upgrade! :)
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Computer Systems Officer Faculty of Science
University of Southern Queensland, Toowoomba Oueensland Australia
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-