NetBSD Problem Report #41079

From www@NetBSD.org  Thu Mar 26 17:29:47 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 969B563C133
	for <gnats-bugs@gnats.netbsd.org>; Thu, 26 Mar 2009 17:29:47 +0000 (UTC)
Message-Id: <20090326172947.6E74563BAFE@www.NetBSD.org>
Date: Thu, 26 Mar 2009 17:29:47 +0000 (UTC)
From: pooka@iki.fi
Reply-To: pooka@iki.fi
To: gnats-bugs@NetBSD.org
Subject: makefs ffs size calculation inaccuracy
X-Send-Pr-Version: www-1.0

>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
>Organization:
>Environment:
>Description:
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:
 32,
Populating `foo.img'
makefs: Writing inode 30 (9p/vfs_inode.c), bytes 24576 + 6671: No space left on device
pain-rustique:5:~> 

>How-To-Repeat:
download http://heanet.dl.sourceforge.net/sourceforge/v9fs/v9fs-2.0.3.tar.gz, makefs foo.img 9p
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.