[Devel] Re: [Patch 01/05]- Containers: Documentation on using containers

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Sep 19 08:32:19 PDT 2006


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20060919/180b233a/attachment.sig>


More information about the Devel mailing list