Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: auspex!guy@uunet.uu.net (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: What's the straight scoop on booting? Keywords: Miscellaneous Message-ID: <1540@brchh104.bnr.ca> Date: 31 Jan 91 19:48:02 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu X-Refs: Original: v10n30 X-Sun-Spots-Digest: Volume 10, Issue 35, message 1 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu >The manuals say that the system when booting fires up /usr/etc/init. The manuals lie. "/sbin/init" is what's fired up. (Well, actually, the kernel searches several directories, but "/sbin" is the first one it searches....) The manual probably said "/etc/init" prior to SunOS 4.0, and got updated to reflect the fact that programs in "/etc" moved to "/usr/etc". >In my younger days a system came up with the root filesystem mounted but >without /usr mounted. Well, when the system *first* comes up, only root is mounted, but it mounts "/usr" soon after that. > What is the copy of init in /sbin for? See above. > Do I have to have /usr mounted at boot time? See above. It has to get mounted fairly early in the boot sequence, because there's not a boatload of code on the root file system, by default; the executables and shared libraries are largely on the "/usr" file system.