Subject: CVS commit: src/sbin/newfs_msdos
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 04/16/2005 14:40:36
Module Name:	src
Committed By:	tsutsui
Date:		Sat Apr 16 14:40:36 UTC 2005

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

Log Message:
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.19 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.