-> Matus fantomas Uhlar wrote: -> > 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.
On 25.01 12:11, Bob Proulx wrote: -> Huh? If you access the trigger point of the mount it will be -> mounted. You can mount it by doing any of 'test -f file', 'ls' or -> anything. We must be talking about different things to be this out of -> sync. i mean like /a -> /mount/a /b -> /mount/b /mount is mountes via autofs. ls -l /mount doesn't show anything after mount. ls -l /a /b shows only symlinks, but ls -l /a/ /b/ will mount both. (of course, if you don't have ls aliased with -L, -F etc which would stat the destination) What I want to say: there is no possibility to change to /mount/a until I explicitly try the path or the symlink. changing to /mount will not show anything. This is not good for window applications and users which don't want to 'enter' the filename or directory manually. -> > 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. -> It is not possible. When you stat() a file you will need to get the -> inode information which is stored on the NFS server not on the client -> automounter. The automounter must mount the underlying disk in order -> to get that information. (This is one cause of "mount storms" in the -> above mentioned not-recommended configurations. Running 'ls -l' on a -> symlink farm will stat() each and mount all.) of course, the information should be fake until the underlying filesystem is mounted. But it would help in the case i described above -- Matus "fantomas" Uhlar, [EMAIL PROTECTED] ; 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. Quantum mechanics: The dreams stuff is made of. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

