NetBSD Problem Report #55196

From gson@gson.org  Wed Apr 22 09:18:50 2020
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 14AF41A924D
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 22 Apr 2020 09:18:50 +0000 (UTC)
Message-Id: <20200422091842.7CEDB253F35@guava.gson.org>
Date: Wed, 22 Apr 2020 12:18:42 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: makefs fails to create ffs from small tree
X-Send-Pr-Version: 3.95

>Number:         55196
>Category:       bin
>Synopsis:       makefs fails to create ffs from small tree
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 22 09:20:01 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current and others
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Running makefs(8) to create an FFS file system from small directory
tree (for example, an empty one), it prints the message "Filesystem
size 32 < minimum size of 40" and exits with a failure status.  Also,
the resulting image is not mountable.

You can work around this using the -M option, but you shouldn't have to.

>How-To-Repeat:

mkdir dir
makefs img dir

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.