Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2014 03:33:32 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r263894 - user/marcel/mkimg
Message-ID:  <201403290333.s2T3XWTN042377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sat Mar 29 03:33:31 2014
New Revision: 263894
URL: http://svnweb.freebsd.org/changeset/base/263894

Log:
  Document how labels can be given to partitions.

Modified:
  user/marcel/mkimg/mkimg.1

Modified: user/marcel/mkimg/mkimg.1
==============================================================================
--- user/marcel/mkimg/mkimg.1	Sat Mar 29 03:14:00 2014	(r263893)
+++ user/marcel/mkimg/mkimg.1	Sat Mar 29 03:33:31 2014	(r263894)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403290333.s2T3XWTN042377>