From 3b7cf0602afa98783236f50d055645fac667434b Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 29 Mar 2014 03:33:31 +0000 Subject: [PATCH] Document how labels can be given to partitions. --- mkimg.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mkimg.1 b/mkimg.1 index b7ae9df11792..7bb58d8e1c1d 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