Re: [Libcg-devel] [PATCH] lscgroup: fix path name trimming

2012-05-08 Thread Jan Safranek
On 05/08/2012 07:56 PM, Ivana Hutarova Varekova wrote: > lscgroup tool in display_controller_data procedure trimmed relative path > name too strictly, thus if the path have no leading "/" sign then the first > character was trimmed too. > > More precisely the relative path is taken from the full p

[Libcg-devel] [PATCH] lscgroup: fix path name trimming

2012-05-08 Thread Ivana Hutarova Varekova
lscgroup tool in display_controller_data procedure trimmed relative path name too strictly, thus if the path have no leading "/" sign then the first character was trimmed too. More precisely the relative path is taken from the full path - path to the controller root and relative path given on com

Re: [Libcg-devel] [PATCH] lscgroup: fix path name trimming

2012-05-07 Thread Dhaval Giani
Hi Ivana, On Sun, May 6, 2012 at 8:49 AM, Ivana Hutarova Varekova wrote: > lscgroup tool in display_controller_data procedure trimmed relative path > name too strictly, thus if the path have no leading "/" sign then the first > character was trimmed too. > Example: > $ lscgroup freezer:libvirt >

[Libcg-devel] [PATCH] lscgroup: fix path name trimming

2012-05-06 Thread Ivana Hutarova Varekova
lscgroup tool in display_controller_data procedure trimmed relative path name too strictly, thus if the path have no leading "/" sign then the first character was trimmed too. Example: $ lscgroup freezer:libvirt freezer:/ibvirt/ freezer:/ibvirt/lxc freezer:/ibvirt/qemu this patch fixes the proble