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 06:45:46
Module Name:	src
Committed By:	dyoung
Date:		Sun Oct 30 06:45:46 UTC 2005

Modified Files:
	src/usr.sbin/makefs: cd9660.c cd9660.h
	src/usr.sbin/makefs/cd9660: cd9660_eltorito.c cd9660_eltorito.h

Log Message:
Bug fix: record the actual number number of 512-byte "virtual"
sectors in the Sector Count field of the Initial/Default Entry in
the "El Torito" Boot Catalog, instead of blithely writing 1 (!!)
into the Sector Count field.  Ditto the Section Entries.

Remove last remnants of cd9660's unsupported boot-load-size option.

Really use cd9660's boot-load-segment argument.

Change the boot images list from a LIST to a TAILQ.

Re-implement CD9660_BLOCKS() with howmany().

Introduce ELTORITO_DPRINTF and some debug messages.

Zero memory malloc'd in the El Torito code.

Revise some debugging outputs.

Insert a new boot-image on the boot-images list after the last
boot-image for the same architecture.  It makes a (trivial) functional
difference.

Miscellaneous cosmetic changes.  Remove useless variable-assignment.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.sbin/makefs/cd9660.c
cvs rdiff -r1.5 -r1.6 src/usr.sbin/makefs/cd9660.h
cvs rdiff -r1.6 -r1.7 src/usr.sbin/makefs/cd9660/cd9660_eltorito.c
cvs rdiff -r1.2 -r1.3 src/usr.sbin/makefs/cd9660/cd9660_eltorito.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.