svn commit: r272749 - head/sys/boot/common

Andrey V. Elsukov ae at FreeBSD.org
Wed Oct 8 12:33:32 UTC 2014


Author: ae
Date: Wed Oct  8 12:33:31 2014
New Revision: 272749
URL: https://svnweb.freebsd.org/changeset/base/272749

Log:
  Fix comment.
  
  MFC after:	1 week

Modified:
  head/sys/boot/common/disk.h

Modified: head/sys/boot/common/disk.h
==============================================================================
--- head/sys/boot/common/disk.h	Wed Oct  8 12:24:24 2014	(r272748)
+++ head/sys/boot/common/disk.h	Wed Oct  8 12:33:31 2014	(r272749)
@@ -43,12 +43,12 @@
  * BSD disklabel partition within an MBR slice:
  *
  * 	d_slice = MBR slice number (typically 1..4)
- * 	d_partition = disklabel partition (typically 0..7)
+ * 	d_partition = disklabel partition (typically 0..19)
  *
  * BSD disklabel partition on the true dedicated disk:
  *
  * 	d_slice = -1
- * 	d_partition = disklabel partition (typically 0..7)
+ * 	d_partition = disklabel partition (typically 0..19)
  *
  * GPT partition:
  *
@@ -71,7 +71,7 @@
  * if there are multiple slices/partitions of a given type, the first one
  * is chosen.
  *
- * The low-level disk device will typically call slice_open() from its open
+ * The low-level disk device will typically call disk_open() from its open
  * method to interpret the disk partition tables according to the rules above.
  * This will initialize d_offset to the block offset of the start of the
  * selected partition - this offset should be added to the offset passed to


More information about the svn-src-head mailing list