Subject: CVS commit: [netbsd-1-5] basesrc/sbin/fdisk
To: None <source-changes@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 02/14/2002 21:59:57
Module Name:	basesrc
Committed By:	he
Date:		Thu Feb 14 19:59:57 UTC 2002

Modified Files:
	basesrc/sbin/fdisk [netbsd-1-5]: fdisk.c

Log Message:
Pull up revision 1.42 (requested by itojun):
  When fetching the disk's hardware geometry, first attempt the
  DIOCGDEFLABEL ioctl, then fall back to the DIOCGDINFO ioctl.
  This ensures that we will get the actual hardware geometry info
  rather than any bogus info which might have been previously
  written to the disk's label area.


To generate a diff of this commit:
cvs rdiff -r1.41 -r1.41.2.1 basesrc/sbin/fdisk/fdisk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.