On 01/22/2012 11:00, clift...@volcano.org wrote:
> On 12.01.2012 15:52, Doug Barton wrote:
chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
>>
>> It's much faster to do:
>>
>> /bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
>> /bin/rm -rf ${obj}/*
>
> If I could just
On Sun, Jan 22, 2012 at 01:00:46PM -0600, clift...@volcano.org wrote:
> On 12.01.2012 15:52, Doug Barton wrote:
> >>> chflags -R noschg /usr/obj/usr
> >>> rm -rf /usr/obj/usr
> > It's much faster to do:
> > /bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
> > /bin/rm -rf ${obj}/
On 22.01.2012 13:16, Matthew Seaman wrote:
On 22/01/2012 19:00, clift...@volcano.org wrote:
If rm had an option to take files from standard input, or if
there's another program I'm not aware of which does this, it
could serve as the right-hand side of this.
xargs(1) -- generic solution to taki
On 22/01/2012 19:00, clift...@volcano.org wrote:
> If rm had an option to take files from standard input, or if
> there's another program I'm not aware of which does this, it
> could serve as the right-hand side of this.
xargs(1) -- generic solution to taking a list of command arguments from
a fil
On 12.01.2012 15:52, Doug Barton wrote:
chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
It's much faster to do:
/bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
/bin/rm -rf ${obj}/*
If I could just add one thing here, for those who might be tempted
to immediately cut and
On Sat, 14 Jan 2012 23:37:50 -0800
Jeremy Chadwick wrote:
> On Sun, Jan 15, 2012 at 02:24:41AM -0500, Rob Clark wrote:
> > On Thu, 12 Jan 2012 08:15:50 -0500
> > John Baldwin wrote:
> >
> > > On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote:
> > > > System: Dell 600sc
> > > > Currently
On Sun, Jan 15, 2012 at 02:24:41AM -0500, Rob Clark wrote:
> On Thu, 12 Jan 2012 08:15:50 -0500
> John Baldwin wrote:
>
> > On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote:
> > > System: Dell 600sc
> > > Currently running: 8.2-RELEASE
> > >
> > > In attempting to update this system to
On Thu, 12 Jan 2012 08:15:50 -0500
John Baldwin wrote:
> On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote:
> > System: Dell 600sc
> > Currently running: 8.2-RELEASE
> >
> > In attempting to update this system to 8-STABLE I did
> > what I usually do to update a system (see below).
> > ma
On Thu, 12 Jan 2012 21:37:27 -0600, Joe Ennis wrote:
On Thu, 12 Jan 2012 19:11:54 -0800
Garrett Cooper wrote:
On Thu, Jan 12, 2012 at 5:52 PM, Doug Barton
wrote:
>
>>> chflags -R noschg /usr/obj/usr
>>> rm -rf /usr/obj/usr
>
> It's much faster to do:
>
> /bin/rm -rf ${obj}/* 2> /dev/null ||
On 01/12/2012 20:10, Garrett Cooper wrote:
> When I did
> stuff in parallel (have 8 regular cores, 8 SMT cores), the process
> took less than an hour to complete.
Sounds like you should get to work figuring out how to optimize rm to
take advantage of this. :)
Doug
--
You can observe a
On Thu, Jan 12, 2012 at 7:23 PM, Stephen Montgomery-Smith
wrote:
> On 01/12/2012 09:11 PM, Garrett Cooper wrote:
>
>> +1. And it's faster yet when you can run parallel copies of rm on
>> different portions of the directory tree (e.g. xargs, find [..] -exec)
>> as rm is O(n).
>
>
> I have always wo
On Thu, 12 Jan 2012 19:11:54 -0800
Garrett Cooper wrote:
> On Thu, Jan 12, 2012 at 5:52 PM, Doug Barton
> wrote:
> >
> >>> chflags -R noschg /usr/obj/usr
> >>> rm -rf /usr/obj/usr
> >
> > It's much faster to do:
> >
> > /bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
> > /bin/
On 01/12/2012 09:11 PM, Garrett Cooper wrote:
+1. And it's faster yet when you can run parallel copies of rm on
different portions of the directory tree (e.g. xargs, find [..] -exec)
as rm is O(n).
I have always wondered about that! I thought that the main bottleneck
in "rm -r" might be dele
On Thu, Jan 12, 2012 at 5:52 PM, Doug Barton wrote:
>
>>> chflags -R noschg /usr/obj/usr
>>> rm -rf /usr/obj/usr
>
> It's much faster to do:
>
> /bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
> /bin/rm -rf ${obj}/*
+1. And it's faster yet when you can run parallel copies of rm
>> chflags -R noschg /usr/obj/usr
>> rm -rf /usr/obj/usr
It's much faster to do:
/bin/rm -rf ${obj}/* 2> /dev/null || /bin/chflags -R 0 ${obj}/* &&
/bin/rm -rf ${obj}/*
--
You can observe a lot just by watching. -- Yogi Berra
Breadth of IT experience, and depth of knowledg
On Thu, 12 Jan 2012 08:15:50 -0500
John Baldwin wrote:
> On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote:
> > System: Dell 600sc
> > Currently running: 8.2-RELEASE
> >
> > In attempting to update this system to 8-STABLE I did
> > what I usually do to update a system (see below).
> > ma
On Wed, 11 Jan 2012 21:52:28 -0600
Andre Goree wrote:
> On Wed, Jan 11, 2012 at 3:11 PM, Rob Clark wrote:
>
> > System: Dell 600sc
> > Currently running: 8.2-RELEASE
> >
> > In attempting to update this system to 8-STABLE I did
> > what I usually do to update a system (see below).
> > make buil
On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote:
> System: Dell 600sc
> Currently running: 8.2-RELEASE
>
> In attempting to update this system to 8-STABLE I did
> what I usually do to update a system (see below).
> make buildworld completes successfully, but make
> buildkernel does not.
On Wed, Jan 11, 2012 at 3:11 PM, Rob Clark wrote:
> System: Dell 600sc
> Currently running: 8.2-RELEASE
>
> In attempting to update this system to 8-STABLE I did
> what I usually do to update a system (see below).
> make buildworld completes successfully, but make
> buildkernel does not. I usuall
19 matches
Mail list logo