|author||Brooks Davis <brooks@FreeBSD.org>||2004-09-09 07:46:53 +0000|
|committer||Brooks Davis <brooks@FreeBSD.org>||2004-09-09 07:46:53 +0000|
The disk labels generated by bsdlabel can no address more than
0xffffffff sectors. Document this limit and avoid installing bogus labels on disks with more sectors. Allowing the installation of labels addressing as much of the disk as possiable may be a useful addition in some situations, but this was easy to implement and should reduce confusion. PR: bin/71408
Notes: svn path=/head/; revision=134973
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.8')
1 files changed, 19 insertions, 7 deletions
diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index f2d55ebdfc20..cbb4e345493b 100644
@@ -273,7 +273,7 @@ Lowercase versions of
-Size and type should be specifed without any spaces between them.
+Size and type should be specified without any spaces between them.
Example: 2097152, 1G, 1024M and 1048576K are all the same size
(assuming 512-byte sectors).
@@ -408,8 +408,8 @@ Display what the label would be for
using the partition layout in
.Pa label_layout .
-This is useful for determining how much space would be alloted for various
-partitions with a labelling scheme using
+This is useful for determining how much space would be allotted for various
+partitions with a labeling scheme using
.Cm % Ns -based
@@ -468,6 +468,20 @@ which could be used as a source file for
f: 5g * 4.2BSD
g: * * 4.2BSD
+The kernel device drivers will not allow the size of a disk partition
+to be decreased or the offset of a partition to be changed while it is open.
+Due to the use of an
+to store the number of sectors,
+bsdlabels are restricted to a maximum of 2^32-1 sectors.
+This usually means 2TB of disk space.
+Larger disks should be partitioned using another method such as
+.Xr gpt 8 .
+The various BSDs all use slightly different versions of BSD labels and
+are not generally compatible.
.Sh SEE ALSO
.Xr ccd 4 ,
.Xr geom 4 ,
@@ -475,7 +489,5 @@ which could be used as a source file for
.\" Xr bsdlabel 5 ,
.Xr disktab 5 ,
.Xr boot0cfg 8 ,
-.Xr fdisk 8
-The kernel device drivers will not allow the size of a disk partition
-to be decreased or the offset of a partition to be changed while it is open.
+.Xr fdisk 8 ,
+.Xr gpt 8