From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FYQJC-0007UG-Nz
	for garchives@archives.gentoo.org; Tue, 25 Apr 2006 16:22:39 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3PGLWme020270;
	Tue, 25 Apr 2006 16:21:32 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.229])
	by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k3PGE8YY006605
	for <gentoo-user@lists.gentoo.org>; Tue, 25 Apr 2006 16:14:08 GMT
Received: by wproxy.gmail.com with SMTP id 71so719795wra
        for <gentoo-user@lists.gentoo.org>; Tue, 25 Apr 2006 09:14:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=ty5GzuaqAqppHQA2fp4aeVKJFyYXncx61IYah5p4PiVabj5KTb9Y1wbF6A45KJS7mh8kcDHmyj3q1bahuN15iEhlKdnm1X+ciJ9+NwS8QUaXcXewDoxj3i8P/klTpL16NPAB168uDHP/+fUD/QC9WqqQL5dPERsnbUHtPCYx+Hg=
Received: by 10.54.66.15 with SMTP id o15mr1335239wra;
        Tue, 25 Apr 2006 09:14:07 -0700 (PDT)
Received: by 10.54.69.1 with HTTP; Tue, 25 Apr 2006 09:14:07 -0700 (PDT)
Message-ID: <7573e9640604250914w5688d024n64b0d6002c693120@mail.gmail.com>
Date: Tue, 25 Apr 2006 09:14:07 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Newbie question re: /usr
In-Reply-To: <000301c6687a$be29d830$0300a8c0@samantha>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <444DD8B3.50806@mid.message-center.info>
	 <000301c6687a$be29d830$0300a8c0@samantha>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k3PGE8YY006605
X-Archives-Salt: ed4deb52-fd23-4eb8-aa61-e4a40e5b4159
X-Archives-Hash: 306f4b0bf1f0899a2d920ae27b09c32e

On 4/25/06, K. Mike Bradley <kmb@mikienet.com> wrote:
> I wonder if anyone can explain why /usr was created?

The idea is that / can be a very small partition and contains
everything necessary to boot and administer the system, and /usr can
be a separate partition or logical volume.  Some advantages to this
setup are:

1. If the partition containing /usr is corrupted, the system will
still boot, and you have enough tools (fdisk, mkfs, tar, cpio, etc) to
repair and restore it.

2. /usr can be on a network server.

3. On the network server, exporting /usr presents no risk to /.  Even
if /usr is filled up, the server will continue to function and can
still be administered.

This is why:

- command interpreters like bash, ash, etc go in /bin
- network clients and remote shells (ssh, telnet, etc) go in /usr/bin
- network, filesystem, and disk utilities go in /bin
- large text editors (emacs, etc) go in /usr/bin
- small text editors (vi, vim) go in /bin
- X, KDE, Gnome, et al are in /usr
- and so on...

That said, you wll find a lot of desktop systems (mine included) that
have / and /usr on the same filesystem.  It's a matter of taste and
what you will be using the system for whether you should make /usr a
separate filesystem or not.

-Richard

-- 
gentoo-user@gentoo.org mailing list