[Midnightbsd-cvs] src [12013] trunk/usr.bin/mkimg: fix names
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 7 17:59:04 EDT 2018
Revision: 12013
http://svnweb.midnightbsd.org/src/?rev=12013
Author: laffer1
Date: 2018-09-07 17:59:04 -0400 (Fri, 07 Sep 2018)
Log Message:
-----------
fix names
Modified Paths:
--------------
trunk/usr.bin/mkimg/mkimg.1
trunk/usr.bin/mkimg/scheme.c
Modified: trunk/usr.bin/mkimg/mkimg.1
===================================================================
--- trunk/usr.bin/mkimg/mkimg.1 2018-09-07 13:00:27 UTC (rev 12012)
+++ trunk/usr.bin/mkimg/mkimg.1 2018-09-07 21:59:04 UTC (rev 12013)
@@ -258,8 +258,8 @@
and also containing a swap partition, run the
.Nm
utility as follows:
-.Dl % mkimg -s gpt -b /boot/pmbr -p freebsd-boot:=/boot/gptboot \
--p freebsd-ufs:=root-file-system.ufs -p freebsd-swap::1G \
+.Dl % mkimg -s gpt -b /boot/pmbr -p mnbsd-boot:=/boot/gptboot \
+-p mnbsd-ufs:=root-file-system.ufs -p mnbsd-swap::1G \
-o gpt.img
.Pp
The command line given above results in a raw image file.
@@ -276,9 +276,9 @@
The output of the first will be fed as the contents of a partition to the
second.
This can be done using a temporary file, like so:
-.Dl % mkimg -s bsd -b /boot/boot -p freebsd-ufs:=root-file-system.ufs \
--p freebsd-swap::1G -o /tmp/bsd.img
-.Dl % mkimg -s mbr -b /boot/mbr -p freebsd:=/tmp/bsd.img -o mbr-bsd.img
+.Dl % mkimg -s bsd -b /boot/boot -p mnbsd-ufs:=root-file-system.ufs \
+-p mnbsd-swap::1G -o /tmp/bsd.img
+.Dl % mkimg -s mbr -b /boot/mbr -p mnbsd:=/tmp/bsd.img -o mbr-bsd.img
.Pp
Alternatively, the
.Nm
Modified: trunk/usr.bin/mkimg/scheme.c
===================================================================
--- trunk/usr.bin/mkimg/scheme.c 2018-09-07 13:00:27 UTC (rev 12012)
+++ trunk/usr.bin/mkimg/scheme.c 2018-09-07 21:59:04 UTC (rev 12013)
@@ -54,12 +54,12 @@
{ "fat16b", ALIAS_FAT16B },
{ "fat32", ALIAS_FAT32 },
{ "midnightbsd", ALIAS_MIDNIGHTBSD },
- { "mnbsdboot", ALIAS_MIDNIGHTBSD_BOOT },
- { "mnbsdnandfs", ALIAS_MIDNIGHTBSD_NANDFS },
- { "mnbsdswap", ALIAS_MIDNIGHTBSD_SWAP },
- { "mnbsdufs", ALIAS_MIDNIGHTBSD_UFS },
- { "mnbsdvinum", ALIAS_MIDNIGHTBSD_VINUM },
- { "mnbsdzfs", ALIAS_MIDNIGHTBSD_ZFS },
+ { "mnbsd-boot", ALIAS_MIDNIGHTBSD_BOOT },
+ { "mnbsd-nandfs", ALIAS_MIDNIGHTBSD_NANDFS },
+ { "mnbsd-swap", ALIAS_MIDNIGHTBSD_SWAP },
+ { "mnbsd-ufs", ALIAS_MIDNIGHTBSD_UFS },
+ { "mnbsd-vinum", ALIAS_MIDNIGHTBSD_VINUM },
+ { "mnbsd-zfs", ALIAS_MIDNIGHTBSD_ZFS },
{ "mbr", ALIAS_MBR },
{ "ntfs", ALIAS_NTFS },
{ NULL, ALIAS_NONE } /* Keep last! */
More information about the Midnightbsd-cvs
mailing list