svn commit: r273117 - stable/10/sys/boot/common

Andrey V. Elsukov ae at FreeBSD.org
Wed Oct 15 04:34:08 UTC 2014


Author: ae
Date: Wed Oct 15 04:34:07 2014
New Revision: 273117
URL: https://svnweb.freebsd.org/changeset/base/273117

Log:
  MFC r272749:
    Fix comment.

Modified:
  stable/10/sys/boot/common/disk.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/common/disk.h
==============================================================================
--- stable/10/sys/boot/common/disk.h	Wed Oct 15 04:29:03 2014	(r273116)
+++ stable/10/sys/boot/common/disk.h	Wed Oct 15 04:34:07 2014	(r273117)
@@ -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-all mailing list