Subject: CVS commit: [netbsd-3] src/sbin/newfs_msdos
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 05/01/2005 18:44:02
Module Name:	src
Committed By:	tron
Date:		Sun May  1 18:44:02 UTC 2005

Modified Files:
	src/sbin/newfs_msdos [netbsd-3]: newfs_msdos.c

Log Message:
Pull up revision 1.19 (requested by tsutsui in ticket #230):
Add a tweak to default value settings for a number of drive heads
and a number of sectors per track.
According to sys/fs/msdosfs/msdosfs_vfsops.c:msdosfs_mountfs(),
the kernel doesn't accept BPB with spt (sector per track) > 63
or hds (drive heads) > 255, so if values taken from disklabel
don't match these restrictions, use popular BIOS default values
(255/63) instead.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.18.2.1 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.