[PVFS-developers] symlink problems with pre3 release

Rob Ross rross at mcs.anl.gov
Fri Sep 17 17:41:33 EDT 2004


I believe that RobL is correct; this is the expected behavior.

Rob

On Fri, 17 Sep 2004, Robert Latham wrote:

> 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
> _______________________________________________
> PVFS-developers mailing list
> PVFS-developers at www.beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs-developers
> 
> 


More information about the PVFS-developers mailing list