Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: jms@tardis.tymnet.com (Joe Smith) Newsgroups: comp.sys.sun Subject: Re: What's the straight scoop on booting? Keywords: Miscellaneous Message-ID: <1543@brchh104.bnr.ca> Date: 2 Feb 91 02:51:07 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 32 Approved: Sun-Spots@rice.edu X-Refs: Original: v10n30 X-Sun-Spots-Digest: Volume 10, Issue 35, message 2 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu In article <1490@brchh104.bnr.ca> haynes@ucscc.ucsc.edu (Jim Haynes) writes: >The manuals say that the system when booting fires up /usr/etc/init. In >my younger days a system came up with the root filesystem mounted but >without /usr mounted. I'm not sure I like the new arrangement; I'm >working with some configurations where /usr is just a bunch of symlinks to >other places. What is the copy of init in /sbin for? Do I have to have >/usr mounted at boot time? haynes@ucscc.ucsc.edu haynes@ucscc.bitnet You can find some of the information you seek by doing the following: 1) ps ax | head 2) strings /sbin/init | more 3) grep mount /etc/rc.boot When a diskless workstation boots up, only the root directory and the swap space are defined. The executables in /sbin are the minimum required to mount /usr over NFS. They are: 1) /sbin/init - started automatically by vmunix 2) /sbin/sh - used to interpret /etc/rc.boot 3) /sbin/hostname - defines primary host name 4) /sbin/ifconfig - sets up IP address for the ethernet interface 5) /sbin/intr (new with 4.1) - allows ^C to abort mount 6) /sbin/mount - mounts /usr, either over NFS or as a local partition The above also applies to a diskfull Sun system. The manuals you refer to are wrong. Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-C51 | BIX: smithjoe | CA license plate: "POPJ P," (PDP-10) San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga 3000 speaks for me."