bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inode numbers in isofs


From: Ludovic Courts
Subject: Inode numbers in isofs
Date: Fri, 2 Aug 2002 16:58:47 +0200
User-agent: Mutt/1.2.5i

Hi,

When running find on an isofs tree (findutils 4.1.7), we get this kind of
error messages:

  find: ./.. changed during execution of find

>From what I've seen in find, it issues this message if the inode number or
device number of a directory has changed during its execution. Looking at
isofs, I noticed two things. First, the st_dev field of struct stat is never
assigned (I think it should be equal to the server's pid). Moreover, the inode
number of "foo" appears to be different from the inode number of "foo/bar/.."
(I wrote a small test program for this, see attachment). This seems to be due
to the way it gets calculated in inode.c:read_disknode() :

  st->st_ino = (ino_t) ((void *) dr - (void *) disk_image);

However, I couldn't find how to get the parent's directory inode number from
there, so I decided to send a bug report instead. ;)

Hope this helps.
Cheers,
Ludovic.

Attachment: stat.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]