Subject: Re: CVS commit: src/usr.sbin/makefs
To: David Young <dyoung@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 10/31/2005 10:53:47
--QnBU6tTI9sljzm9u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Oct 30, 2005 at 09:27:49AM +0000, David Young wrote:
| src/usr.sbin/makefs: cd9660.c cd9660.h
| src/usr.sbin/makefs/cd9660: cd9660_write.c
|=20
| 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).
Could you leverage off the existing link_check() funcion
in makefs/walk.c to do this?
--QnBU6tTI9sljzm9u
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFDZV0LpBhtmn8zJHIRApk4AKCOayMiMlsR4AA4iJVV30oUMn01NgCgpJLl
14A0d4SIRMgAkkwjUw5APW4=
=tl7y
-----END PGP SIGNATURE-----
--QnBU6tTI9sljzm9u--