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: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@localhost



Home | Main Index | Thread Index | Old Index