aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorDavide Italiano <davide@FreeBSD.org>2014-09-18 03:11:59 +0000
committerDavide Italiano <davide@FreeBSD.org>2014-09-18 03:11:59 +0000
commit9d5a327fb590843b25353cd1e1ad5e5add9b2cdb (patch)
tree6981627f673d6d3a2e04b30ca463247568957df5 /sys/amd64
parent397bdf7cd566986d94f70e41a4c0cb1019089ad5 (diff)
downloadsrc-9d5a327fb590843b25353cd1e1ad5e5add9b2cdb.tar.gz
src-9d5a327fb590843b25353cd1e1ad5e5add9b2cdb.zip
r258695 introduces a sanity check for makefs in order to verify that
the minimum image size specified is always less than the maximum image size. If makefs(1) is invoked specifying minimum image size, but not maximum one, the program exits with an error. Example: # sudo -E makefs -M 538968064 -B be /home/davide/disk.img $DESTDIR makefs: `/home/davide/tftproot/mips' minsize of 538968064 rounded up to ffs bsize of 8192 exceeds maxsize 0. Lower bsize, or round the minimum and maximum sizes to bsize. Assert then that minsize < maxsize iff maxsize is specified. This change allows me to build MIPS images using makefs(1) and following what specified in the wiki again. Reviewed by: jmallett, ngie
Notes
Notes: svn path=/head/; revision=271736
Diffstat (limited to 'sys/amd64')
0 files changed, 0 insertions, 0 deletions