From owner-cvs-all Sun May 13 15:24:26 2001 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 6E9F337B422; Sun, 13 May 2001 15:24:20 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 903CC6ACBC; Mon, 14 May 2001 07:54:18 +0930 (CST) Date: Mon, 14 May 2001 07:54:18 +0930 From: Greg Lehey To: Kris Kennaway Cc: Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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: <20010514075417.A88359@wantadilla.lemis.com> References: <200105132052.f4DKqfo39754@freefall.freebsd.org> <20010513141237.A63235@xor.obsecurity.org> <20010514074016.N86168@wantadilla.lemis.com> <20010513151500.A27277@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010513151500.A27277@xor.obsecurity.org>; from kris@obsecurity.org on Sun, May 13, 2001 at 03:15:01PM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 13 May 2001 at 15:15:01 -0700, Kris Kennaway wrote: > On Mon, May 14, 2001 at 07:40:17AM +0930, Greg Lehey wrote: > >>> ..but as for this, have you fixed the bugs where you can't re-mount a >>> devfs to refresh it, or recreate a device node which was removed? >> >> What's the problem with recreating device nodes? I've done this >> several times. > > How? destroy_dev to remove the node, make_dev to make it. Take a look at dev/vinum/vinumconfig.c and dev/vinum/vinum.c. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message