Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 22:27:52 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Default inode number too low in FFS nowadays?
Message-ID:  <20111106222752.GA88092@freebsd.org>
In-Reply-To: <4EB7126C.3030809@FreeBSD.org>
References:  <B888842A-7DB4-491B-93E3-A376745019F5@sarenet.es> <j8u2af$chv$1@dough.gmane.org> <5C156A63-D86D-4C1B-AFC4-DC5EA09494F6@xerq.net> <4EB3C63F.2060805@quip.cz> <20111104141626.GA28925@freebsd.org> <4EB7126C.3030809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun Nov  6 11, Doug Barton wrote:
> On 11/04/2011 07:16, Alexander Best wrote:
> > On Fri Nov  4 11, Miroslav Lachman wrote:
> >> Matt Connor wrote:
> >>>
> >>> On Nov 3, 2011, at 5:43 AM, Ivan Voras<ivoras@freebsd.org>  wrote:
> >>>
> >>>> On 02/11/2011 12:57, Borja Marcos wrote:
> >>
> >> [...]
> >>
> >>>> Did you forget to do "make clean" after "make install" on several large
> >>>> ports?
> >>>>
> >>>> But yes, the ports tree is getting a bit unwieldy. On the other hand,
> >>>> did you fsck the file system lately?
> >>>>
> >>>
> >>> cd /usr/ports/ports-mgmt/portupgrade&&  make install clean
> >>>
> >>> portsclean -CD
> >>>
> >>> That's a quick way to clean out all the clutter.
> >>
> >> Installing ruby and portupgrade is really big overhead to simple task, 
> >> which can be done by:
> >>
> >> cd /usr/ports && make clean
> >>
> >> or with find:
> >>
> >> find /usr/ports/ -depth 3 -name "work" -exec rm -r {} +
> > 
> > ...or with 'rm -rf /usr/ports/*/*/work'
> 
> This comes up periodically, and for some reason no one pays attention to
> all the work that's been done in the past to verify that the fastest
> method is:
> 
> find /usr/ports -maxdepth 3 -type d -name -work -exec rm -rf {} \;

1) -work ?
2) i like -depth 3 better, because it will not touch my /usr/ports/work
   directory, where i keep my latest ports stuff (theoretically).
3) are you sure \; is "faster" than + ?

cheers.
alex

> 
> Of course, the best solution by far is to set WRKDIRPREFIX to a path
> with adequate space, preferably something other than /usr/obj.
> 
> 
> hth,
> 
> Doug
> 
> -- 
> 
> 		"We could put the whole Internet into a book."
> 		"Too practical."
> 
> 	Breadth of IT experience, and depth of knowledge in the DNS.
> 	Yours for the right price.  :)  http://SupersetSolutions.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111106222752.GA88092>