Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): > On 03/07/2013 04:54 PM, Serge Hallyn wrote: > > > >Quoting Papp Tamas (tom...@martos.bme.hu): > >> > >>hi All, > >> > >>At the end of this script it wants to remove the fs in some cases. > >>But something is wrong about it, as if it's other they are igno

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread zoolook
On Thu, Mar 7, 2013 at 5:54 PM, Papp Tamas wrote: > Me? > > It was not me, who wrote this script:) Oh sorry. That's what happen when someone (me) jumps into a thread without knowing what's going on :-/ Anyway, I think it is a bug. The comment clearly says he doesn't want to remove the directory

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Papp Tamas
On 03/07/2013 09:43 PM, zoolook wrote: > > On Thu, Mar 7, 2013 at 5:21 PM, Papp Tamas wrote: else # In case rootfs is not under $lxc_path/$lxc_name, remove it rm -rf --one-file-system --preserve-root $rootdev >> >> But it's removed here. > >

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread zoolook
On Thu, Mar 7, 2013 at 5:21 PM, Papp Tamas wrote: >>> else >>> # In case rootfs is not under $lxc_path/$lxc_name, remove it >>> rm -rf --one-file-system --preserve-root $rootdev > > But it's removed here. > Do I miss something? If you don't want it to

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Papp Tamas
On 03/07/2013 04:54 PM, Serge Hallyn wrote: > > Quoting Papp Tamas (tom...@martos.bme.hu): >> >> hi All, >> >> At the end of this script it wants to remove the fs in some cases. >> But something is wrong about it, as if it's other they are ignored. > > Sorry I don't understand - what is being ignor

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): > > hi All, > > At the end of this script it wants to remove the fs in some cases. > But something is wrong about it, as if it's other they are ignored. Sorry I don't understand - what is being ignored in which cases? > # Deduce the type of rootfs > #