Subject: bin/24533: mount -u fails for mfs filesystems
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <uwe@netbsd.org>
List: netbsd-bugs
Date: 02/23/2004 03:18:27
>Number: 24533
>Category: bin
>Synopsis: mount -u fails for mfs filesystems
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 23 03:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Valeriy E. Ushakov
>Release: -current as of 2004-02-23
>Organization:
>Environment:
NetBSD nada 1.6ZK NetBSD 1.6ZK (NADA) #1: Mon Feb 23 04:59:31 MSK 2004 uwe@sampo:/export/netbsd/cvs/src/sys/arch/hpcsh/compile/NADA hpcsh
>Description:
$ mount_mfs -o ro -s 4m swap /mnt
$ mount -v -o rw -u /mnt
exec: mount_mfs -o update mfs:597 /mnt
mount_mfs: Unable to determine file system size
From a quick look the proble is that in sbin/newfs/newfs.c
the fssize variable is unitialized.
I encountered this while testing hpcsh miniroot,
so I guess all miniroot installs are potentially broken by this bug.
>How-To-Repeat:
See description.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: