From owner-cvs-all Sat Sep 15 4:15:27 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0425E37B408; Sat, 15 Sep 2001 04:15:23 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8FBFMW54136; Sat, 15 Sep 2001 04:15:22 -0700 (PDT) (envelope-from peter) Message-Id: <200109151115.f8FBFMW54136@freefall.freebsd.org> From: Peter Wemm Date: Sat, 15 Sep 2001 04:15:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern init_main.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2001/09/15 04:15:22 PDT Modified files: sys/kern init_main.c Log: In the devfs case, have initproc attempt the easy cases of mounting /dev. This works if /dev exists, or if / is read/write (nfsroot). If it is too hard, leave it up to init -d (which will probably fail if /dev does not exist, but there isn't much else we can do short of making a union mount on /). This means we get a proper /dev if you boot a 5.x kernel on a 4.x world, which I happen to do often (the ramdisks on our install netboot servers have 4.x userland worlds on them). Revision Changes Path 1.176 +18 -2 src/sys/kern/init_main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message