[lxc-devel] [PATCH] lxc-destroy: make it work with busybox

Serge Hallyn serge.hallyn at canonical.com
Wed Nov 14 20:47:50 UTC 2012


Quoting Natanael Copa (ncopa at alpinelinux.org):
> On Wed, 14 Nov 2012 08:51:07 -0600
> Serge Hallyn <serge.hallyn at canonical.com> wrote:
> 
> > Quoting Natanael Copa (ncopa at alpinelinux.org):
> > > Busybox 'rm' has no support for --one-file-system. We can make it
> > > work on busybox with find ... -xdev.
> > 
> > Hm, well it does slow it down a smidgeon, but no real objection
> > from me.  Still let's if anyone else has a comment.

s/ if/ see if/

> Why does it slow down? Did you test it?

I only tested it with the time built-in.  I don't know what sorts of
optimizations rm has built-in, don't care to look into it.

-serge




More information about the lxc-devel mailing list