Subject: Re: CVS commit: src/usr.sbin/makefs
To: David Laight <david@l8s.co.uk>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: source-changes
Date: 10/30/2005 21:02:06
On Sun, Oct 30, 2005 at 07:55:16PM +0000, David Laight wrote:
> On Sun, Oct 30, 2005 at 09:27:49AM +0000, David Young wrote:
> >
> > Add hard-link support: keep a hashtable that maps inodes for
> > regular files on the source filesystem to the offset of the first
> > data block on the target filesystem.
>
> 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?
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We can walk our road together if our goals are all the same; -=-
-=- We can run alone and free if we pursue a different aim. -=-