Subject: CVS commit: src/sys/kern
To: None <>
From: David Laight <>
List: source-changes
Date: 01/28/2006 19:57:07
Module Name:	src
Committed By:	dsl
Date:		Sat Jan 28 19:57:07 UTC 2006

Modified Files:
	src/sys/kern: subr_disk_mbr.c

Log Message:
Improve disk portability between systems.
- Always look for labels in the first two sectors
- Update all existing labels, but only write new labels to netbsd mbr
  partitions, and the first/second sector of disks that don't have an mbr.
Moving disks between systems still sucks bigtime!
- raw patition is either c or d, if d then c is reserved
- max partitions might be 8 or 16, nothing in the label gives the maximum
- endianness

To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/kern/subr_disk_mbr.c

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