Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 00:38:18 -0700 (PDT)
From:      Doug Barton <DougB@gorean.org>
To:        "John W. De Boskey" <jwd@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Cleanout & rebuild of /dev on -current
Message-ID:  <Pine.BSF.4.21.0010190035130.30223-100000@dt051n37.san.rr.com>
In-Reply-To: <20001018215052.A51062@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Oct 2000, John W. De Boskey wrote:

> Hi,
>  
>    Interesting question was posed to me which I can't
> locate a straight answer to.
>  
>    We've been following -current for a few years now.
> Over time, the devices in /dev have moved around, new
> added, and old deleted (ie: we've never had to restage
> one of these machines and/or purge it and reinstall).
>  
>    So, what would the correct sequence be to wipeout
> /dev and recreate it? (create /dev in an alternate
> location and compare the two...??)
>  
>    Given that the above can be automated on a live
> system, is this something that can/should be added
> to make installworld/world?  (or atleast generate
> a report of changed devices, or devices that can 
> nolonger be created..)

	Well, answer A) is that devfs makes this all meaningless. I've
been running it on two machines (admittedly, both workstations) for
several weeks now. 

	Answer B) is, "How brave are you?" :) I've had success with 'cp -R
/dev /dev-old; rm -rf /dev/[^M]*; cd /dev/; /bin/sh MAKEDEV all'. Of
course, you have to remake your disk devices by hand after this, which
mitigates against it being automated in my book. 

Doug
-- 
        "The dead cannot be seduced."
		- Kai, "Lexx"

	Do YOU Yahoo!?




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010190035130.30223-100000>