Subject: PR/17398 CVS commit: src/sbin/newfs_msdos
To: None <scw@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Steve Woodford <scw@netbsd.org>
List: netbsd-bugs
Date: 11/25/2006 12:30:05
The following reply was made to PR kern/17398; it has been noted by GNATS.
From: Steve Woodford <scw@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/17398 CVS commit: src/sbin/newfs_msdos
Date: Sat, 25 Nov 2006 12:29:33 +0000 (UTC)
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.