[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "find" doesn't work
From: |
Ludovic Courtès |
Subject: |
Re: "find" doesn't work |
Date: |
Fri, 14 Jun 2002 20:15:28 +0200 |
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.
> > This means that find may also not work well when searching across various
> > filesystems since different filesystems may very well use the same inode
> > numbers.
>
> Maybe it tries to figure out "mount points" itself? It will fail to do so
> on the Hurd.
Yes.
Thanks,
Ludovic.
Re: "find" doesn't work, Marcus Brinkmann, 2002/06/10