Interesting reading that I agree with;-)
It is a pity we don't have more folks like Rob working on Linux.
Hans
Quoted 1 line · Hans Reiser
It is a pity we don't have more folks like Rob working on Linux.
I haven't read the whole paper, but at first glance it would appear to be trivial to do this under Linux, because the dentries maintain such an absolute path to a file. The only thing that appears to be needed for this is the new syscall and the applications to actually use it. The syscall just needs to walk the dentry tree upwards to generate the full path, as is already done in the __d_path() function.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
Quoted 2 lines · Andreas Dilger
an absolute path to a file. The only thing that appears to be needed for this is the new syscall and the applications to actually use it.
The syscall is named "readlink":
ls -ld /proc/self/fd/0
lrwx------ 1 root root 64 May 23 03:23 0 -> /dev/pts/1
Of course, it has to solve problems like the stupid way of appending (instead of prepending) "(deleted)".
Much more useful. IMHO, would be a flink() call, although it might destroy some optimizations in some filesystems ;->
Signature · 7 lines
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / [email protected] |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|Quoted 14 lines · Andreas Dilger
Quoted 3 lines · Hans Reiser
It is a pity we don't have more folks like Rob working on Linux.
I haven't read the whole paper, but at first glance it would appear to be trivial to do this under Linux, because the dentries maintain such an absolute path to a file. The only thing that appears to be needed for this is the new syscall and the applications to actually use it. The syscall just needs to walk the dentry tree upwards to generate the full path, as is already done in the
__d_path()function.
Quoted 10 lines
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
I am told that Viro feels it would break applications. I think the current .. handling should be considered a bug, and I don't really care what obscure applications are broken in return for fixing this commonly occuring bug.
Hans