Source-Changes archive

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

Re: CVS commit: src/usr.sbin/makefs



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

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index