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 <cube%cubidou.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Ephaeton%gmx.net@localhost
Subject: Re: bin/39607: newfs(_msdos) falsly? reports about "read-only
filesystem" w/ VND
Date: Mon, 22 Sep 2008 06:07:34 +0200
--QHhm1I6mwQR20oIa
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, Ephaeton%gmx.net@localhost 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
root%agamemnon.entropie.local@localhost:/home/netbsd/obj/=
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.
--=20
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"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.
--QHhm1I6mwQR20oIa
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
iQEcBAEBAgAGBQJI1xoGAAoJENgoQloHrPnodOUIALPDM42xieWd/AXKbeEuPk7a
1LLMxlUJ3ifNWahSndh88v+Bm5/3g3I9dIDCk3/rUb1pRjwMiCxKm0Q6o0J33FHZ
GYzRUqG12pCYz2cLrKrSf2+EUdY0Q4ryZwYiB1188HsZ4E3L2kenvaa14nxqSjxS
HxXBHAgHZXbOZGIChgJffaOJGu/HOjZyiiERBZoqB+JN3ZXy5MEs7O/tW722iOym
uvqRLBZkqWjK3ufwHKuNPF2hK5U0qaUo8Xeg1qfyjPYDdcdBC5Jp1qZBRyebeXGg
hzfbZ2N3FpqW8wxVCmK0201K3sXDVV3V+i42nyoEeXB8aQOARajiiC0YzoLw19E=
=ihdW
-----END PGP SIGNATURE-----
--QHhm1I6mwQR20oIa--
Home |
Main Index |
Thread Index |
Old Index