Re: [AVFS] ~/.avfs and symlinks
Peter <[email protected]> Mon, 06 Mar 2006 10:24:16 -0500
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 06 Mar 2006 15:07:11 +0100, Miklos Szeredi wrote: >> No, `pwd` and $PWD yield the same result and avfsd returns the same error. > > Careful: in bash 'pwd' is a builtin command and is _not_ the same as > '/bin/pwd'. > >> Is there no way to force avfs to accept a literal path regardless of >> whether or not it is a symlink? > > The problem is that the symlink resolving will be done by the VFS > independently of avfs or fuse. So no, it's not possible to make avfs > use the original path. > > Miklos > OK. Now we're getting somewhere! And, I am learning something to boot! /usr/bin/pwd DOES return the proper real path. The bash command pwd does not peter@mars ~/foo/bar $ /usr/bin/pwd /mnt/foo/bar peter@mars ~/foo/bar $ pwd /home/peter/foo/bar and with `/usr/bin/pwd` the ls ~/.avfs/`/usr/bin/pwd`/file.tar# works. Now I suppose this changes things a lot! HTH and thanks for explaining the difference between the shell pwd and the /usr/bin/pwd. > > ------------------------------------------------------- This SF.Net > email is sponsored by xPML, a groundbreaking scripting language that > extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- Do not reply to this email address. It is a spam trap and not monitored. If you wish to contact me, please use pete4abw at comcast dot net. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642