From owner-freebsd-hackers Sun Aug 20 10:22:58 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA09050 for hackers-outgoing; Sun, 20 Aug 1995 10:22:58 -0700 Received: from DATAPLEX.NET (SHARK.DATAPLEX.NET [199.183.109.241]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA09044 for ; Sun, 20 Aug 1995 10:22:56 -0700 Received: from [199.183.109.242] by DATAPLEX.NET with SMTP (MailShare 1.0fc5); Sun, 20 Aug 1995 12:22:29 -0600 X-Sender: rkw@shark.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 20 Aug 1995 12:22:29 -0500 To: hackers@freebsd.org From: rkw@dataplex.net (Richard Wackerbarth) Subject: Some thoughts on diskless systems, etc. Sender: hackers-owner@freebsd.org Precedence: bulk I have been thinking about the problems associated with maintaining a group of machines that should all be basically the same. If we divide the filespace into a few chunks, they appear to fall into a few categories. 1) Shared alterable eg: /home, /usr/home, or whatever.. 2) Shared readonly eg: /usr/share 3) Local alterable eg: /var 4) Local readonly eg: /stand Looking at the /usr directory, most of it should really be readonly. The same is true on /bin. If done properly, /etc would be readonly, but each machine might need its own version. Things in there that need to change can be linked to /var/etc, for example. So here are my questions. 1) Why does "/" need to be r/w? 2) What do you think of the following: PROPOSAL: Modify "/sbin/init" to use a file in "/" (eg: "/rc") rather than "/etc/rc" as its initial file. IMPACTS: That way I could start by "mount"ing my own private "/etc". The default could simply be a one-liner ". /etc/rc". Diskless systems (of the same type) would all get the same "/" from their server. Their "/rc" would then do something to mount the workstation's very small "/etc" filesystem, and continue with common structure. If I am doing backups, much of the base system is now on ronly media. I need only back up my custom "/etc" files to be able to rebuild a system. My working backups might also include "/var" or portions thereof, as well as the home directories, etc. Comments? Questions? Suggestions? ---- Richard Wackerbarth rkw@dataplex.net