[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "find" doesn't work
From: |
Marcus Brinkmann |
Subject: |
Re: "find" doesn't work |
Date: |
Fri, 14 Jun 2002 20:20:31 +0200 |
User-agent: |
Mutt/1.3.28i |
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 brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
Re: "find" doesn't work, Marcus Brinkmann, 2002/06/10