Ther are couple of ways of doing it. I prefer to run autofs and use the auto.master and a auto.home combination. The auto.master sets up the directory where and how to use the auto.home. In my particuliar setup, I have in the auto.master /misc /etc/auto.misc --timeout=60 /net /etc/auto.net --timeout=60 /home /etc/auto.home --timeout=60 /opt /etc/auto.opt --timeout=60 In auto.home apache -rw,soft,intr polaris:/export/home/& apps -rw,soft,intr polaris:/export/home/& apps_admin -rw,soft,intr polaris:/export/home/& cvs -rw,soft,intr polaris:/export/home/& dad -rw,soft,intr polaris:/export/home/& loo -rw,soft,intr / polaris:/export/home/& mysql -rw,soft,intr polaris:/export/home/& windows -rw,soft,intr / localhost:/export/home1/& \ /virgin localhost:/export/home/& shinohara -rw,soft,intr polaris:/export/home/& Whenever I do /home/loo etc.. it automatically mounts the file for me. You can replace polaris with the machine you want to mount with. The advantage of this scheme, it will umount the file system after 60 seconds if you are not using the directory. Of course you need to setup the exportfs files correctly. Tom Nielsen wrote:
I just switched over to a new machine and don't have my fstab info from my last machine in order to copy the entries for mounting drives on my network.
Say I want to mount to Mary, I assume in fstab I would do something like: //Mary/share /mnt/Mary smbfs user=Tom, password=tom, auto 0 0
I don't think that's right. Basically I want to mount mary (I actually do...you should see her!) and be able to add/delete and alter files. I am listed on her machine as admin, so password and user should match....it did before.
Thanks, Tom
-- Joseph Loo jloo@acm.org