[Devel] Re: [PATCH] user-cr: Update readme.txt to reflect changed program names

Oren Laadan orenl at librato.com
Sat Oct 3 16:18:05 PDT 2009



Matt Helsley wrote:
> ckpt got renamed to checkpoint, rstr got renamed to self_restart,
> and mktree got renamed to restart. The readme should reflect this
> change in the code.
> 
> Signed-off-by: Matt Helsley <matthltc at us.ibm.com>

Got it. (Modified a bit to mention what's in contrib/ and test/)

Oren.

> ---
>  readme.txt |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/readme.txt b/readme.txt
> index ee5e865..10ccc97 100644
> --- a/readme.txt
> +++ b/readme.txt
> @@ -10,23 +10,23 @@ self.c: a simple program doing self-checkpoint
>    running it:
>  	$ ./self > out.self
>  
> -ckpt.c: a program to do external checkpoint of other process(es)
> +checkpoint.c: a program to do external checkpoint of other process(es)
>    Run with a single argument which is the pid of the target
>    process (container init), in the current pid namespace. The
>    checkpoint image is written to standard output.
> -	$ ./ckpt PID > out.ckpt
> +	$ ./checkpoint PID > out.ckpt
>  
> -rstr.c: a program to restart from a checkpoint of a single process
> +self_restart.c: a program to restart from a checkpoint of a single process
>    It restarts the process, but does not restore the original pid of
>    the process. Redirect standard input from the checkpoint image.
> -	$ ./rstr < out.ckpt
> +	$ ./self_restart < out.ckpt
>  
> -mktree.c: a program to restart from a checkpoint of multiple processes
> +restart.c: a program to restart from a checkpoint of multiple processes
>    It first creates the process tree and then restarts the process. By
>    default it does not restore the original pids of the processes (will
>    be added in the future). Redirect standard input from the checkpoint
>    image.
> -	$ ./mktree --no-pids < out.ckpt
> +	$ ./restart --no-pids < out.ckpt
>  	
>  
>  TEST PROGRAMS:
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list