From owner-freebsd-hackers Fri Mar 22 09:25:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA16617 for hackers-outgoing; Fri, 22 Mar 1996 09:25:02 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA16595 for ; Fri, 22 Mar 1996 09:24:59 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id LAA19698; Thu, 21 Mar 1996 11:57:18 -0800 (PST) Message-Id: <199603211957.LAA19698@ref.tfs.com> Subject: Re: DEVFS vs "regular /dev" To: scrappy@ki.net (Marc G. Fournier) Date: Thu, 21 Mar 1996 11:57:18 -0800 (PST) From: "JULIAN Elischer" Cc: hackers@freebsd.org In-Reply-To: from "Marc G. Fournier" at Mar 21, 96 02:12:44 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > On Thu, 21 Mar 1996, Rodney W. Grimes wrote: > > > These problems may have been corrected. I do know for certain that certain > > /dev/ entries missing causes the system to hang very early in init, and you > > can not even get up single user to fix it. This _needs_ fixed badly, you > > should be able to > > rm -r /dev > > reboot > > and get the system up single user, if not you have a chicken and egg > > problem as to how to repair a damaged or loss /dev tree. > > > That's what got me started playing with the DEVFS code. I figured > I'd try to boot the system using devfs instead of the "normal /dev", and > found that /dev/ttyv* wasn't being created, so I couldn't login. I've got > my system now to the point that I could do 'rm -r /dev' and be able to boot > without any problems. well, not quite.. because init tries to open some devices before the fstab is used to mount the disks and devfs.. you could always alter init to directly mount /dev.... > > Marc G. Fournier | POP Mail Telnet Acct DNS Hosting > System | WWW Services Database Services | Knowledge, > Administrator | | Information and > scrappy@ki.net | WWW: http://www.ki.net | Communications, Inc > >