[Midnightbsd-cvs] src [9881] trunk/sys/boot/common/disk.h: fix comments
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu May 24 07:28:47 EDT 2018
Revision: 9881
http://svnweb.midnightbsd.org/src/?rev=9881
Author: laffer1
Date: 2018-05-24 07:28:47 -0400 (Thu, 24 May 2018)
Log Message:
-----------
fix comments
Modified Paths:
--------------
trunk/sys/boot/common/disk.h
Modified: trunk/sys/boot/common/disk.h
===================================================================
--- trunk/sys/boot/common/disk.h 2018-05-24 11:26:23 UTC (rev 9880)
+++ trunk/sys/boot/common/disk.h 2018-05-24 11:28:47 UTC (rev 9881)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*-
* Copyright (c) 2011 Google, Inc.
* All rights reserved.
@@ -23,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $MidnightBSD$
+ * $FreeBSD: stable/9/sys/boot/common/disk.h 273119 2014-10-15 05:22:48Z ae $
*/
/*
@@ -43,12 +44,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 +72,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 Midnightbsd-cvs
mailing list