From owner-cvs-all Sun May 13 19:36:15 2001 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id 4881E37B422; Sun, 13 May 2001 19:36:10 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6B77266C04; Sun, 13 May 2001 19:36:09 -0700 (PDT) Date: Sun, 13 May 2001 19:36:09 -0700 From: Kris Kennaway To: Eric Melville Cc: Greg Lehey , Kris Kennaway , Poul-Henning Kamp , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: Destroying and remaking device nodes (was: cvs commit: src/sys/conf files options src/sys/alpha/conf GENERIC src/sys/i386/conf GENERIC NEWCARD NOTES src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/fs/devfs devfs_devs.c devfs_vfsops.c devfs_vnops.c) Message-ID: <20010513193608.A48014@xor.obsecurity.org> References: <20010513141237.A63235@xor.obsecurity.org> <20010514074016.N86168@wantadilla.lemis.com> <20010513151500.A27277@xor.obsecurity.org> <20010514075417.A88359@wantadilla.lemis.com> <20010513152842.A28203@xor.obsecurity.org> <20010513181354.A46193@FreeBSD.org> <20010514105122.G88359@wantadilla.lemis.com> <20010513182649.A51972@FreeBSD.org> <20010514111119.I88359@wantadilla.lemis.com> <20010513185724.A53412@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010513185724.A53412@FreeBSD.org>; from eric@FreeBSD.ORG on Sun, May 13, 2001 at 06:57:24PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 13, 2001 at 06:57:24PM -0700, Eric Melville wrote: > > > At first I was going to add this in to rm(1), but I thought people wo= uld > > > object to that. Apparently I got it backwards, I'll do as you > > > suggest. > >=20 > > I think you should wait for phk's comments before committing. >=20 > I never intended to commit anything just yet, I was just taking kris's > thoughts a step further and spitting out some code. I suppose this probab= ly > the wrong list for it; I was just lazy and left the discussion on the list > that it began on. Actually I was being tongue-in-cheek; I'm not sure how a userland wrapper for make_dev() would DTRT if you accidentally remove a device and then want to recreate it. phk's suggestion was making remove only whiteout the device node, so you can undelete it with rm -W. Kris --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6/0SYWry0BWjoQKURAnDvAJ0bY5EXqih2Sg0HyqWpA0/HJXjrJQCgiV/p 5cMYKRnFi2BvD4RO4xvCxX4= =L7Gv -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message