[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autofs vs amd: Is there a preference?



-> on Tue, Jan 21, 2003 at 06:45:30PM -0600, Hanasaki JiJi wrote about Re: autofs vs amd:  Is there a preference?:
-> > anyone have a config for amd to automount home dirs?  off redundant 
-> > hostnames?
-> > 
-> > in amd, when fileserver:/exports/[export1] is automounted, the 
-> > files/dirs in [export1] are accessable but not viewable in a "ls" Any 
-> > way to change this?

-> No. This is just how the automounter works. Can you imagine what kind
-> of a "mount-storm" you would have if someone just used an ls, or tab
-> completion in the parent directory (in your case /mnt/dir1)? FYI, the
-> O'Reilly book "Managing NFS and NIS" explains this quite well.

OTOH, it is currently not possible to mount a FS without explicitly changing
to nonexistent directory. You can workaround this with symlink that points
to the destination, but in that case never call stat() on that link.

imho, the directory should exist (if it's possible) and stat() should not
cause mount, open and chdir should do. iirc it is in the TODO list for
automounter.

-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Windows found: (R)emove, (E)rase, (D)elete



Reply to: