Date: Sun, 13 May 2001 19:36:09 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Eric Melville <eric@FreeBSD.ORG> Cc: Greg Lehey <grog@lemis.com>, Kris Kennaway <kris@obsecurity.org>, Poul-Henning Kamp <phk@FreeBSD.ORG>, 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> In-Reply-To: <20010513185724.A53412@FreeBSD.org>; from eric@FreeBSD.ORG on Sun, May 13, 2001 at 06:57:24PM -0700 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010513193608.A48014>