Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc
Module Name: basesrc
Committed By: thorpej
Date: Thu Jul 6 17:22:44 UTC 2000
Modified Files:
basesrc/sbin/fdisk: fdisk.c
Log Message:
When fetching the disk's hardware geometry, first attempt the
DIOCGDEFLABEL ioctl, then fall back onto the DIOCGDINFO ioctl
if that fails. This ensures that we will get the actual hardware
geometry info rather than any bogus info that might have been
previously written to the disk's label area.
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 basesrc/sbin/fdisk/fdisk.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