On 07/29/2011 04:34 PM, Devendra K. Modium wrote:
> Hi All
> 
> I see in couple of sources that after starting the containers,
> we can modify the cgroups resource allocation of that  particular 
> container.
> 
> I am trying to add the specific device to the devices.list after starting the 
> container only to get below error
> 
>  echo "c 252:1 rwm" >> /dev/cgroup/libvirt/lxc/vm2/devices.list 
> -bash: echo: write error: Invalid argument
> 
> The above file in which I am trying to write to exists in the above path.
> 
> Please share your opinions.

Did you try with '>' instead of '>>' ?

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to