NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41079: makefs ffs size calculation inaccuracy

>Number:         41079
>Category:       bin
>Synopsis:       makefs ffs size calculation inaccuracy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 17:30:00 +0000 2009
>Originator:     Antti Kantee
>Release:        5.0_RC2
makefs miscalculates the amount of space required for certain
directory trees.  this results in bad inodes on the
created file system.

pain-rustique:4:~> makefs foo.img 9p
Calculated size of `foo.img': 229376 bytes, 31 inodes
Extent size set to 8192
foo.img: 0.2MB (448 sectors) block size 8192, fragment size 1024
        using 1 cylinder groups of 0.22MB, 28 blks, 64 inodes.
super-block backups (for fsck -b #) at:
Populating `foo.img'
makefs: Writing inode 30 (9p/vfs_inode.c), bytes 24576 + 6671: No space left on 

makefs foo.img 9p

Home | Main Index | Thread Index | Old Index