On Fri, Jun 14, 2002 at 08:15:28PM +0200, Ludovic Courtès wrote:
> On Fri, Jun 14, 2002 at 08:11:10PM +0200, Marcus Brinkmann wrote:
> > The inode number is not a reliable unique identifier for a file in the
> > system.  It should use the st_ino + st_dev field.  Only both together
> > uniquely identify a file.
> 
> Actually, it does also use st_dev. But what exactly should be in st_dev?
> There's no way for a server to make sure that a certain value for st_dev is
> not already in use I think.

The Hurd convention is to use the PID of the server.  If you "trust" the
servers, they will all do this and be reliable.  If you run find on
"untrusted" servers, there are a lot of things that can happen, and it
is all your own fault. :) 

Thanks,
Marcus



-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to