Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sbin/newfs_msdos
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.
Home |
Main Index |
Thread Index |
Old Index