Subject: Re: CVS commit: src/usr.sbin/makefs
To: David Young <dyoung@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 10/30/2005 19:55:16
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.

	David

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