Date: Sun, 17 Sep 2000 11:15:39 +0930 From: Greg Lehey <grog@lemis.com> To: Rick Hamell <hamellr@heorot.1nova.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recreating /dev? Message-ID: <20000917111539.F42114@wantadilla.lemis.com> In-Reply-To: <Pine.BSF.4.21.0009151754020.3638-100000@heorot.1nova.com>; from hamellr@heorot.1nova.com on Fri, Sep 15, 2000 at 06:03:23PM %2B0000 References: <Pine.BSF.4.21.0009151754020.3638-100000@heorot.1nova.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 15 September 2000 at 18:03:23 +0000, Rick Hamell wrote: > > Ok, I did something stupid in the attempt to fix another problem > with a misplaced *... :( Anyways I now need to restore /dev on 4.1 to it's > orginal state. Besides a full reinstall, and a line-by-line audit, what is > the best way to get /dev back to normal? Thanks in advance! Well, the obvious answer is: restore from your last backup. /dev doesn't change much. But it sounds like this doesn't work for you. The next best answer is: # cd /dev # ./MAKEDEV all For other reasons, I have just done this, and I see it's not too clever. In particular, it doesn't create device entries for all the slices present on the system, which causes problems. You will definitely have to go back and check it. In the not-too-distant future we will have devfs, which creates the correct /dev entries on the fly at every boot, and this mess will go away. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html 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 freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000917111539.F42114>