NetBSD-Bugs archive

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

Re: bin/39607: newfs(_msdos) falsly? reports about "read-only filesystem" w/ VND

The following reply was made to PR bin/39607; it has been noted by GNATS.

From: Quentin Garnier <>
Subject: Re: bin/39607: newfs(_msdos) falsly? reports about "read-only
        filesystem" w/ VND
Date: Mon, 22 Sep 2008 06:07:34 +0200

 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 On Mon, Sep 22, 2008 at 03:40:01AM +0000, wrote:
 > >Number:         39607
 > >Category:       bin
 > >Synopsis:       newfs(_msdos) falsly? reports about "read-only filesyste=
 m" w/ VND
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    bin-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Sep 22 03:40:00 +0000 2008
 > >Originator:     Martin S. Weber
 > >Release:        4.99.72 / i386
 > >Organization:
 > me again inc.
 > >Environment:
 > NetBSD agamemnon.entropie.local 4.99.72 NetBSD 4.99.72 (AGAMEMNON) #4: Sa=
 t Sep 20 20:45:58 EDT 2008  
 sys/arch/i386/compile/AGAMEMNON i386
 > >Description:
 > Maybe this is too obvious for you people... newfs_msdos complains on a vn=
 config'd file that it's a read-only filesystem. It would then fail on the b=
 lock device but work on the character device (you maybe expect that). It th=
 en in both cases complains about the r/o fs (huh?) and exits with status 1,=
  although it worked in the latter case (as you are then able to mount). [[y=
 es yes I'll use newfs -ZFs from now on]] See also below.
 1.  Yes you should use the character device.
 2.  The EROFS is not a false error.  If you look at the disklabel of
     vnd0 after you configure it, you'll see that having no MBR, it
     defaults with a 4.2BSD partition in it.  The EROFS comes from
     newfs_msdos trying to write over the position where the disklabel
     is normally stored.
 Quentin Garnier - -
 "See the look on my face from staying too long in one place
 [...] every time the morning breaks I know I'm closer to falling"
 KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 Version: GnuPG v1.4.9 (NetBSD)

Home | Main Index | Thread Index | Old Index