OpenVZ Forum


Home » Mailing lists » Devel » [Patch 01/05]- Containers: Documentation on using containers
Re: [Patch 01/05]- Containers: Documentation on using containers [message #6514 is a reply to message #6368] Tue, 19 September 2006 15:32 Go to previous message
Valdis.Kletnieks is currently offline  Valdis.Kletnieks
Messages: 5
Registered: September 2006
Junior Member
On Thu, 14 Sep 2006 18:38:33 PDT, Rohit Seth said:

(Sorry for the late reply...)


> --- linux-2.6.18-rc6-mm2.org/Documentation/containers.txt 1969-12-31 16:00:00.000000000 -0800
> +++ linux-2.6.18-rc6-mm2.ctn/Documentation/containers.txt 2006-09-14 17:13:48.000000000 -0700

> +5- Remove a task from container
> + echo <pid> rmtask

echo <pid> > rmtask

is what I think was intended. Also, I'm not sure <pid> is the best
meta-syntax - anybody got a better idea?

> +9- Freeing a container
> + cd /mnt/configfs/containers/
> + rmdir test_container

What happens if you try to remove a container that still has active tasks? Are
you relying on the VFS to catch the 'non-empty directory'? (of course, 'rm -r'
has predictable semantics here).

I see support for "add a task" and "remove a task", but none for listing
the current tasks in the container?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] BC: resource beancounters (v4) (added user memory)
Next Topic: [Patch03/05]- Containers: Initialization and Configfs interface
Goto Forum:
  


Current Time: Fri Jul 04 23:05:06 GMT 2025

Total time taken to generate the page: 0.02361 seconds