summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-03-29 03:33:31 +0000
committermarcel <marcel@FreeBSD.org>2014-03-29 03:33:31 +0000
commit3b7cf0602afa98783236f50d055645fac667434b (patch)
tree60c2e8f80f52887ae9830dfab35a5b335b787e6f
parent50a0b74b99504e35c83df17770a62b072238fa08 (diff)
downloadFreeBSD-src-3b7cf0602afa98783236f50d055645fac667434b.zip
FreeBSD-src-3b7cf0602afa98783236f50d055645fac667434b.tar.gz
Document how labels can be given to partitions.
-rw-r--r--mkimg.16
1 files changed, 6 insertions, 0 deletions
diff --git a/mkimg.1 b/mkimg.1
index b7ae9df..7bb58d8 100644
--- a/mkimg.1
+++ b/mkimg.1
@@ -135,6 +135,12 @@ To do this, run the
utility as follows:
.Dl % mkimg -s mbr -b /boot/mbr -p freebsd:-'mkimg -s bsd -b /boot/boot \
-p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G' -o mbr-bsd.img
+.Pp
+For partitioning schemes that feature partition labels, the
+.Nm
+utility supports assigning labels to the partitions specified.
+In the following example the file system partition is labeled as 'backup':
+.Dl % mkimg -s gpt -p freebsd-ufs/backup:=file-system.ufs -o gpt.img
.Sh SEE ALSO
.Xr gpart 8
.Xr makefs 8
OpenPOWER on IntegriCloud