MFC: sbin/bsdlabel/bsdlabel.8 1.63,1.64
Fix evil examples - first partition should start at offset 16 and explain why this is important. Approved by: re (hrs)
This commit is contained in:
parent
c44fa9d800
commit
05c6e127c5
@ -205,8 +205,8 @@ The format is:
|
||||
|
||||
8 partitions:
|
||||
# size offset fstype [fsize bsize bps/cpg]
|
||||
a: 81920 0 4.2BSD 1024 8192 16
|
||||
b: 160000 81920 swap
|
||||
a: 81920 16 4.2BSD 1024 8192 16
|
||||
b: 160000 81936 swap
|
||||
c: 1173930 0 unused 0 0 # "raw" part, don't edit
|
||||
.Ed
|
||||
.Pp
|
||||
@ -235,8 +235,8 @@ drivedata: 0
|
||||
|
||||
8 partitions:
|
||||
# size offset fstype [fsize bsize bps/cpg]
|
||||
a: 81920 0 4.2BSD 1024 8192 16
|
||||
b: 160000 81920 swap
|
||||
a: 81920 16 4.2BSD 1024 8192 16
|
||||
b: 160000 81936 swap
|
||||
c: 1173930 0 unused 0 0 # "raw" part, don't edit
|
||||
.Ed
|
||||
.Pp
|
||||
@ -300,6 +300,8 @@ For partition
|
||||
.Ql c ,
|
||||
.Cm *
|
||||
will be interpreted as an offset of 0.
|
||||
The first partition should start at offset 16, because the first 16 sectors are
|
||||
reserved for metadata.
|
||||
.It Ar fstype
|
||||
Describes the purpose of the partition.
|
||||
The example shows all currently used partition types.
|
||||
@ -471,7 +473,7 @@ which could be used as a source file for
|
||||
|
||||
8 partitions:
|
||||
# size offset fstype [fsize bsize bps/cpg]
|
||||
a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
|
||||
a: 400M 16 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*)
|
||||
b: 1G * swap
|
||||
c: * * unused
|
||||
e: 204800 * 4.2BSD
|
||||
|
Loading…
Reference in New Issue
Block a user