[PVFS-developers] symlink problems with pre3 release
Robert Latham
robl at mcs.anl.gov
Fri Sep 17 17:29:09 EDT 2004
On Fri, Sep 17, 2004 at 02:59:45PM -0500, David S Metheny wrote:
> This happens because the symlink still points to the full path specified
> when it was created. The cat command resolves to
> /mnt/pvfs/symlink-test/hellow.world.txt instead of
> /mnt/cluster/symlink-test/hello.world.txt
>
> $ ls -la /mnt/cluster/symlink-test/
> total 9
> drwxrwxr-x 1 user user 4096 Sep 17 14:36 .
> drwxrwxrwx 1 user user 4096 Sep 17 14:36 ..
> lrwxrwxrwx 1 user user 51 Sep 17 14:36 hello.world.symlink ->
> /mnt/pvfs/symlink-test/hello.world.txt
> -rw-rw-r-- 1 user user 12 Sep 17 14:36 hello.world.txt
>
> Any ideas?
It's been a long time since I played with this on an ext2 file system,
but isn't this the difference between relative and absolute symbolic?
i.e. what you are describing is correct behavior for absolute symlinks
on any file system, right?
as I'm sure you know, pvfs does not support hard links, which i
imagine would not exhibit this behavior.
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA B29D F333 664A 4280 315B
More information about the PVFS-developers
mailing list