Subject: Re: CVS commit: src/usr.sbin/makefs
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: David Laight <email@example.com>
Date: 10/31/2005 07:17:41
On Sun, Oct 30, 2005 at 09:02:06PM +0100, Jaromir Dolecek wrote:
> > Since not all filesystems manage to have unique inode numbers, you need
> > to compare more than the st_dev and st_ino fields - even when st_nlink > 1.
> Which filesystems do not have unique inode numbers?
Union mounts typically have problems - since they tend to want to return
the inode number of the actual file (particularly union filessytems that
let you explicitely select a layer).
Also some other OS (on which you might wish to run the program) have
filesystems which aren't inode based and don't try very hard to make
the value returned by stat unique.
David Laight: firstname.lastname@example.org