This is what autofs is for. Instead of hardmounting everything and risk having your machine hang when a filesystem goes unavailable it only mounts the filesystem when you are using it. Set up a automount pointing to an indirect map in your /etc/auto.master: /sambashares /etc/auto.samba Then setup an indirect map (like /etc/auto.samba) someshare -rw,fstype=smbfs,credentials=credentialsfile ://server/share Then restart/reload autofs service autofs reload|restart. Your mount point won't be visible until it's actually used, so do "ls /sambashares/someshare" to verify that it works. -- S C Rigler RHCE #803003335409754 > -----Original Message----- > From: redhat-list-admin@xxxxxxxxxx > [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Jason Williams > Sent: Tuesday, December 30, 2003 5:41 PM > To: redhat-list@xxxxxxxxxx > Subject: Auto mounting shares with samba > > > Hello everyone. > > I'm running a test samba server (2.2.8a) and was doing some > testing here. > (RH 8.0 box) > > One thing I wanted to test was the ability to have Windows shares > automounted if the sambaserver was rebooted for some reason. > > Currently, I have a NT 4.0 server setup and with a couple of shares. > > What is the best way to have shares automounted on a reboot? > Is there a > link some where that shows how to do this? I've been stumped > on doing this. > > I appreciate the help. > > J. > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list