]> Zhao Yanbai Git Server - minix.git/commit
installboot: allow installation into disk
authorDavid van Moolenbroek <david@minix3.org>
Sat, 9 Feb 2013 23:44:44 +0000 (00:44 +0100)
committerDavid van Moolenbroek <david@minix3.org>
Sat, 16 Feb 2013 21:58:53 +0000 (22:58 +0100)
commit16440d9b8f94da5ad1dad50ffe08b2e7732e6288
tree8f0ef97f00ad1bfa9d779b1cf40e7d85c751fa91
parentc3ae1bdfcdefac8badced1553791a3fe2afbe7c7
installboot: allow installation into disk

Previously, installboot would require that the given target device is
a partition. This is not strictly necessary: MINIX3 can also be
installed (manually) into one or more primary partitions, requiring
that the installboot target be the entire disk. With this patch,
specifying a disk as target is now allowed, as long as the -f (force)
option is given.
usr.sbin/installboot/installboot.c
usr.sbin/installboot/installboot.h
usr.sbin/installboot/minixfs3.c