Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2018 17:20:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229929] makefs(8) can underestimate image size
Message-ID:  <bug-229929-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229929

            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@FreeBSD.org
          Reporter: asomers@FreeBSD.org

With no -M, -m, or -s options, makefs should autocalculate the image size.=
=20
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 ino=
des
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229929-227>