Subject: CVS commit: src/sbin/newfs_msdos
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 11/25/2006 12:29:33
Module Name:	src
Committed By:	scw
Date:		Sat Nov 25 12:29:33 UTC 2006

Modified Files:
	src/sbin/newfs_msdos: newfs_msdos.8 newfs_msdos.c

Log Message:
Don't use negative offsets from "bpb.bps" when writing out values such
as DOSMAGIC in the MBR. In non-512 byte media, the MBR is still 512
bytes in length.

Based on the patches provided in PR kern/17398 by Trevin Beattie.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sbin/newfs_msdos/newfs_msdos.8
cvs rdiff -r1.23 -r1.24 src/sbin/newfs_msdos/newfs_msdos.c

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