Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 07:54:18 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, 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>
In-Reply-To: <20010513151500.A27277@xor.obsecurity.org>; from kris@obsecurity.org on Sun, May 13, 2001 at 03:15:01PM -0700
References:  <200105132052.f4DKqfo39754@freefall.freebsd.org> <20010513141237.A63235@xor.obsecurity.org> <20010514074016.N86168@wantadilla.lemis.com> <20010513151500.A27277@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010514075417.A88359>