svn commit: r273119 - stable/9/sys/boot/common

Andrey V. Elsukov ae at FreeBSD.org
Wed Oct 15 05:22:49 UTC 2014


Author: ae
Date: Wed Oct 15 05:22:48 2014
New Revision: 273119
URL: https://svnweb.freebsd.org/changeset/base/273119

Log:
  MFC r272749:
    Fix comment.

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

Modified: stable/9/sys/boot/common/disk.h
==============================================================================
--- stable/9/sys/boot/common/disk.h	Wed Oct 15 05:17:36 2014	(r273118)
+++ stable/9/sys/boot/common/disk.h	Wed Oct 15 05:22:48 2014	(r273119)
@@ -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-stable-9 mailing list