From owner-freebsd-questions Wed May 6 16:51:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17985 for freebsd-questions-outgoing; Wed, 6 May 1998 16:51:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17869 for ; Wed, 6 May 1998 16:50:40 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id JAA02849; Thu, 7 May 1998 09:20:35 +0930 (CST) (envelope-from grog) Message-ID: <19980507092035.F396@freebie.lemis.com> Date: Thu, 7 May 1998 09:20:35 +0930 From: Greg Lehey To: MIKE JENKINS , freebsd-questions@FreeBSD.ORG Subject: Re: Writable /usr? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from MIKE JENKINS on Wed, May 06, 1998 at 12:02:04PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 6 May 1998 at 12:02:04 -0500, MIKE JENKINS wrote: >> Date: Mon, 27 Apr 1998 20:16:02 -0400 (EDT) >> From: CyberPeasant >> Subject: Writable /usr? >> >> As a newcomer to FreeBSD but a greybeard in the unix world, can I >> politely ask why FreeBSD seems intent on making /usr a writable >> partition? In another thread, someone reports that the user guide >> recommends locating /tmp and /var on /usr. I believe I've seen >> recommendations to supply users' home directories in the /usr >> partition, too. (The default installation script sets you up >> without a /home partition.) What's the rationale for this? Isn't >> readonly /usr (and /, if possible) a Good Thing anymore? > > "Installing and Operating 4.4BSD UNIX" agrees with you! > (see /usr/share/doc/smm/01.setup/paper.ascii.gz) > > The reason people keep stuffing things in /usr is that > it has plenty of space since it got the rest of the disk > after /, swap, and /var. They probably should go back and > resize their partitions and add new ones like /home, /tmp, etc. Having many partitions is Evil. It increases the likelihood that you will run out of space on one partition while having enough space on the disk. It's relatively easy to size read-only partitions, since they don't change. If you want a read-only /usr (I don't, though I agree with the reasoning for it), you can create that in the size which you want and use the rest of the disk for /var. Under these circumstances, though, I wouldn't make /usr a file system at all. I'd make it part of the root file system (I think that SCO does something similar). This would mean that the files in /usr would be available in single-user mode, which would be a great advantage. You'll recall that there were two reasons for originally having separate /usr and root file systems: 1. A small root file system would be more resilient against crashes. This would no longer be relevant if /usr were also read-only. 2. The disks were often not big enough to accomodate both / and /usr. This is, of course, no longer the case. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message