On Thu, Aug 17, 2000 at 03:06:42AM +0200, Marcus Brinkmann wrote:
> Now, under the Hurd, stat()'ing INSTALL.txt makes the inode "debian" a copy
> of the file!
... as for both direntries the same file_start is calculated in
calculate_file_start, and thus they have the same inode number.
So, the calculation of file_start is wrong for symlinks, as inodes don't
have a sensible file_start (the same problem as I encountered on FAT systems
with empty files, etc).
So, the start block of a file can't be used as a unique identification of a
directory entry. :(
(Changing it to the start of the directory entry in disk_image might work,
but requires some careful changes and a new member in struct disknode.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
[EMAIL PROTECTED], [EMAIL PROTECTED] PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ [EMAIL PROTECTED]