Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2004 11:52:18 -0700
From:      "Graham North" <graham.north@telus.net>
To:        "Peter Ulrich Kruppa" <root@pukruppa.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Pruning the Ports Tree 
Message-ID:  <002301c45177$8d6f5ba0$627ba8c0@phoenix>
References:  <002201c45111$801acb30$627ba8c0@phoenix> <20040613101323.Q2197@pukruppa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Uli and the rest of the FreeBSD forum:

Thanks for your advice - though I am not entirely sure what the purpose of
your last questions are.

To answer though:
My HD is about 1.2G - it is sharing 2.0G with another OS.
/usr    ~ 778M
usr/ports ~247M
total /usr being used is ~595M  with about 183M free.

The problem is not disk space - it appears to be file handles.   Remember,
those ports files are only about 0.5K each - so lots of inodes are being
used in file infrastructure.  Midnight Comm which I use for a lot of file
navigation indicates that I had 99838 inodes available - of which there are
now only 602 free!   Yesterday that was about 900, but then I mirrored part
of a friend's website and used another 300.
As you can see, I need to free up some file handling capability.

Thanks for any further advice you can give.

Cheers,  Graham/




----- Original Message ----- 
From: "Peter Ulrich Kruppa" <root@pukruppa.de>
To: "Graham North" <graham.north@telus.net>
Cc: <freebsd-questions@freebsd.org>
Sent: Sunday, June 13, 2004 1:29 AM
Subject: Re: Pruning the Ports Tree


> On Sat, 12 Jun 2004, Graham North wrote:
>
> > Is it alright to prune the Ports tree - and still do updates later.
> >
> > I am running 4.8 stable and recently did a full Ports tree
> > update using CVSUP.  This generates several questions. 1) I
> > took the advice of Michael Urban's book and upgraded from the
> > "Head" of the source tree rather than from that for 4.8 - did I
> > really want to do that?  Does it matter for a Ports only
> > updating?
> It is recommended to use the appropriate kernel and base system
> with your ports. Things might work the way you did it, or
> (probably) not.
>
> 2) The tree is getting pretty big - result, lots of
> > files.  My hard drive is not very big - it is down to a few
> > hundred inodes (file handles) within the usr directory.  Can I
> > prune the tree on my hard drive without compromising future
> > updates?  If it helps, my machine is not using X only command
> > mode so there are lots of Ports that will never be made.
> For further advices it would be helpful to know how big your hd
> is and how much diskspace is used by your ports tree.
> You can check the latter by
> # du -h -d 1
> (see # man du)
>
> Regards,
>
> Uli.
>
> > Thanks for any help that can be offered.
> >
> > Graham/
> >
> >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
> >
> >
>
>   +---------------------------+
>   |    Peter Ulrich Kruppa    |
>          |         Wuppertal         |
>          |          Germany          |
>          +---------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c45177$8d6f5ba0$627ba8c0>