From owner-freebsd-questions Wed Mar 27 8:44:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wasp.eng.ufl.edu (wasp.eng.ufl.edu [128.227.116.1]) by hub.freebsd.org (Postfix) with ESMTP id D853037B41B for ; Wed, 27 Mar 2002 08:44:36 -0800 (PST) Received: from eng.ufl.edu (scanner.engnet.ufl.edu [128.227.152.221]) by wasp.eng.ufl.edu (8.9.3/8.9.3) with ESMTP id LAA08372; Wed, 27 Mar 2002 11:43:44 -0500 (EST) Message-ID: <3CA1F6C0.990F6949@eng.ufl.edu> Date: Wed, 27 Mar 2002 11:43:44 -0500 From: Bob Johnson X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, eo MIME-Version: 1.0 To: pruiter@indigored.com Cc: questions@freebsd.org Subject: Re: /usr/home on separate disk? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Date: Tue, 26 Mar 2002 01:22:49 -0500 > From: "P.B. Ruiter" > Subject: /usr/home on separate disk? > > Hi, > I just installed a new freebsd box with two ide drives. As I intend to use > this as dedicated file/print/samba server on a mixed small office network, I > thought it a good idea to dedicate one drive to /usr/home. I installed > 4.5-Release as such with default settings for drive 0 and a single slice > /usr/home on drive 1 (and swap on both). > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 128990 31748 86924 27% / > /dev/ad0s1f 257998 4 237356 0% /tmp > /dev/ad0s1g 9044900 786382 7534926 9% /usr > /dev/ad1s1e 19099614 20 17571626 0% /usr/home > /dev/ad0s1e 257998 738 236622 0% /var > > > I realize there is already a /usr/home under /usr. How do I get rid of this > and point it to my /usr/home on ad1s1e? I tried rmdir /home within /usr - > this only gave me a busy reply. Please help... > It is already there. /usr/home IS /dev/ad1s1e. When you mount a partition at a point in the filesystem, it appears at that point. I.E. when you mount /dev/ad1s1e at /usr/home, everything in that partition will appear under /usr/home (in your case, it was automatically mounted at boot time). If you installed FreeBSD first, and then added /dev/ad1s1e to the existing system later, there will be a /usr/home on /dev/ad0s1g that you can not access when /dev/ad1s1e is mounted. No big deal, if it is empty it only takes up a couple of sectors of disk space. If you had ad1 in place when you installed FreeBSD, and told the installer to create ad1s1e and mount it as /usr/home as part of the install process, then you don't even have to worry about that. Based on your description of what you did, I think you have nothing to worry about. > Pieter > - Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message