Date: Tue, 12 Mar 2002 11:31:42 -0500 From: "David S. Jackson" <deepbsd@earthlink.net> To: Steve Wingate <steve@velosystems.net> Cc: Jolok <joshualokken@attbi.com>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Freeing space on /usr Message-ID: <20020312113142.A24523@sylvester.dsj.net> In-Reply-To: <002e01c1c7ce$a27bfe70$0501a8c0@VELOSYSTEMS.NET>; from steve@velosystems.net on Sat, Mar 09, 2002 at 04:58:04PM -0800 References: <001d01c1c896$e76a7d90$06aae00c@jolok> <002e01c1c7ce$a27bfe70$0501a8c0@VELOSYSTEMS.NET>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 09, 2002 at 04:58:04PM -0800 Steve Wingate <steve@velosystems.net> wrote: > cd /usr/ && du | more > > > ----- Original Message ----- > From: "Jolok" <joshualokken@attbi.com> > To: "FreeBSD Questions" <freebsd-questions@freebsd.org> > Sent: Sunday, March 10, 2002 4:51 PM > Subject: Freeing space on /usr > > > > hello: > > > > i just made xfree86-4.2.0 after a clean install of FreeBSD 4.5 with the > > ports collection and no x. the make went well, but after 'make install', > it > > cooks along for awhile, then i run out of space on my /usr slice. i am > > running a 3.2 GB disk with s 1.4GB /usr slice--why is this happening? I > was > > under the impression that FreeBSD was fairly small. What can i safely > > delete (or move) to make room for X? How do I find the size of any > > particular directory? Where (in the standard documentation) should i read > > about this? I do read before i mail, but i haven't found any help yet. > > Thank you. > > > > jolok You could try a little (bash) script: #!/usr/local/bin/bash dirname=$1 size=${2:-500} header=${3:+"SIZE\tFILENAME\n"} echo -e -n $header find ${dirname:=$HOME} -size +${size} -depth -ls | sort -nr | less It will give you an idea where the space is going by finding files over 500K or by $2, whichever you like. -- David S. Jackson dsj@dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I'm going to give my psychoanalyst one more year, then I'm going to Lourdes. -- Woody Allen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020312113142.A24523>