NetBSD-Bugs archive

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

Re: bin/49430

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

From: Kyle Amon <>
To: Paul Goyette <>
Subject: Re: bin/49430
Date: Sun, 22 Jan 2017 06:18:06 -0700

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 On Thu, 19 Jan 2017 09:55:12 +0800 (PHT)
 Thus spake Paul Goyette <>:
 > OK, this appears to be a problem with having a file named 'cgd0' in the=20
 > working directory of the "cgdconfig -C" command.  The ktrace output=20
 > shows that an open for 'cgd0' is succeeding, where it should be opening=20
 > '/dev/rcgd0d' (after first trying '/dev/rcfd0').
 > This was fixed in HEAD with rev 1.14 of src/lib/libutil/opendisk.c but=20
 > the fix was not pulled up to any of the release branches.  The fix will=20
 > be included in NetBSD-8.
 > As a work-around, remove the offending cgd0 file.
 > +------------------+--------------------------+------------------------+
 > | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
 > | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at   |
 > | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at |
 > +------------------+--------------------------+------------------------+
 That sounds right, according to what I recall Christos having said.
 Hmm, he also said the fix would be in 7.0.1, iirc, so I don't know why
 it wasn't pulled up.  Strange.
 I think he suggested I rename that file as a workaround too, in the
 interim, but I already had a workaround in place, albeit a horrible thing,
 so I decided to just leave it since a proper fix would be coming along soon
 enough, I thought.  Well, I think so again now (and, thank you), but I
 decided to change to the cleaner file rename workaround this time anyway,
 in the remaining interim.  I renamed it to cgd0.pr49430 in order to
 remind me to undo it after 8 comes out.  Works fine.  And at least I'm
 finally rid of my ungainly, unseemly kludge.  Thanks for your efforts.
   CA +1-778-819-UNIX                  BackWatcher, Inc.
   US +1-425-584-UNIX                  Information Security
  INUM +883-5100-0990-1657  |  ISN UNIX*1917  |  C*NET 1-731-UNIX
 GPG ed25519/F57091DBD60FBBB8 [ed25519/D60FBBB8]
     985C 5B61 4ACE C89A 0DEE  ECCD F570 91DB D60F BBB8
 OTR E1A46361 9FD0D801 0132D21A FE2E96BE 39E3F069 : xmpp amonk@backwatcher.c=
     5AB3E0B8 31F6ADB4 9A7D2FC2 A8235281 5776701E : silc silcnet
 Content-Type: application/pgp-signature
 Content-Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index