[Bug 229929] makefs(8) can underestimate image size
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 21 17:21:00 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229929
Bug ID: 229929
Summary: makefs(8) can underestimate image size
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: asomers at FreeBSD.org
With no -M, -m, or -s options, makefs should autocalculate the image size.
However, sometimes it underestimates the size required, then fails when it's
writing the image with an error like this:
Calculated size of `/tmp/kyua.ZQYFDj/2/work/test.img': 688128 bytes, 33 inodes
Extent size set to 32768
/tmp/kyua.ZQYFDj/2/work/test.img: 0.7MB (1344 sectors) block size 32768,
fragment size 4096
using 1 cylinder groups of 0.66MB, 21 blks, 256 inodes.
super-block backups (for fsck -b #) at:
64,
Populating `/tmp/kyua.ZQYFDj/2/work/test.img'
makefs: Writing inode 22 (524288.file), bytes 491520 + 32768: No space left on
device
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list