From owner-freebsd-questions@FreeBSD.ORG Tue Sep 13 21:35:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79AB216A41F for ; Tue, 13 Sep 2005 21:35:43 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D41F743D45 for ; Tue, 13 Sep 2005 21:35:42 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so65697wxd for ; Tue, 13 Sep 2005 14:35:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q1WvVwhRTo63kWr4+1ohrbUC29TxFRRe+0tK2H8YuKoX/9fc6tIeIvsHRVe8pU1Xt56Yq9rbJuvMg2eOqKSrTD0TB3Fp5wTyhb/86m1voyd1AZVJUEiZqw7BvkVxnT+AJfrRXDKdy2yDCt4Is0GlLG+oCBJXkPKCP3EtoAZ8j/o= Received: by 10.70.113.18 with SMTP id l18mr277724wxc; Tue, 13 Sep 2005 14:35:42 -0700 (PDT) Received: by 10.70.67.15 with HTTP; Tue, 13 Sep 2005 14:35:42 -0700 (PDT) Message-ID: <54db439905091314355fb65b05@mail.gmail.com> Date: Tue, 13 Sep 2005 17:35:42 -0400 From: Bob Johnson To: spammesilly@gmail.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Re-use disk Space? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsdlists@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 21:35:43 -0000 On 9/13/05, Daniel Gonzalez wrote: > I have a quick question about re-apportioning disk space on my > computer (FreebSD 5.4RC2 Athlon 850 MHz 512MB RAM) > Here is the output of df -H: >=20 > REDE2SRV# df -H > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 520M 61M 418M 13% / > devfs 1.0k 1.0k 0B 100% /dev > /dev/ad0s1f 5.3G 805M 4.1G 17% /music > /dev/ad0s1e 1.5G 133k 1.4G 0% /tmp > /dev/ad1s1d 8.4G 7.0G 732M 90% /usr > /dev/ad0s1d 1.5G 48M 1.3G 3% /var >=20 > My /usr partiton is almost at capacity (90%) on a separate disk > (/dev/ad1) from the rest of the other partitons. I allocated way too > much space for my /music partition (dev/ad0s1f). I don't plan on ever > using up the 4.1GB that's left over. I've been archiving (to CD) my > mp3s, oggs etc so I always have a backup. What I wanted to know is > would it be possible to reclaim some disk space under the /music > partion and link a /usr sub-partition (/usr/home) to that reclaimed > space? Hopefully I've explained myself clearly. What part of the > handbook sections could I start with? >=20 > Regards > --=20 > Dan Gonzalez You've pretty much described one solution by asking the question. You could create a directory in music (e.g. /music/home) and then create a symbolic link to it: ln -s /music/home /usr/home For most purposes, that should work (if /usr/home already exists, you might want to rename it first!). Or if you can use the entire /music volume as /home, just edit /etc/fstab and have it mounted as /home instead of /music. This will avoid any confusion caused by utilities that might not follow symbolic links by default. - Bob