freebsd-nq/usr.sbin/makefs
Davide Italiano 9d5a327fb5 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
2014-09-18 03:11:59 +00:00
..
cd9660 Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, 2013-12-29 16:43:35 +00:00
ffs convert to using the _daddr_t types like newfs was... 2014-05-31 20:26:34 +00:00
cd9660.c - Set the System Identifier in the Primary Volume Descriptor to FreeBSD 2013-07-27 15:28:31 +00:00
cd9660.h Allow contents of multiple directories to be merged to the current image. 2012-01-31 00:32:37 +00:00
ffs.c r258695 introduces a sanity check for makefs in order to verify that 2014-09-18 03:11:59 +00:00
ffs.h
Makefile Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
makefs.8 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
makefs.c Mark the makefs(8) '-p' flag as deprecated in preference for 2013-08-16 05:30:13 +00:00
makefs.h Remove duplicated copies of various NetBSD compatibility shims used by 2013-05-09 14:43:36 +00:00
mtree.c Timestamps may not have a decimal point. 2014-04-06 02:57:49 +00:00
walk.c Remove duplicated copies of various NetBSD compatibility shims used by 2013-05-09 14:43:36 +00:00