From owner-freebsd-questions Sat Sep 16 18:45:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id ECA5F37B422 for ; Sat, 16 Sep 2000 18:45:47 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e8H1jdU13319; Sun, 17 Sep 2000 11:15:39 +0930 (CST) (envelope-from grog) Date: Sun, 17 Sep 2000 11:15:39 +0930 From: Greg Lehey To: Rick Hamell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recreating /dev? Message-ID: <20000917111539.F42114@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from hamellr@heorot.1nova.com on Fri, Sep 15, 2000 at 06:03:23PM +0000 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-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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