Subject: CVS commit: src/usr.sbin/makefs
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 10/30/2005 09:27:49
Module Name: src
Committed By: dyoung
Date: Sun Oct 30 09:27:49 UTC 2005
Modified Files:
src/usr.sbin/makefs: cd9660.c cd9660.h
src/usr.sbin/makefs/cd9660: cd9660_write.c
Log Message:
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. Don't allocate blocks for a
file a second time (i.e., if it is already present in the hashtable).
Avoid writing the blocks of a file twice (use the FS_WRITTEN flag
in fsinode->flags for this purpose).
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/usr.sbin/makefs/cd9660.c \
src/usr.sbin/makefs/cd9660.h
cvs rdiff -r1.4 -r1.5 src/usr.sbin/makefs/cd9660/cd9660_write.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.