[CRIU] [PATCH] mount: Add PB entries for FS types

Pavel Emelyanov xemul at parallels.com
Mon Mar 18 14:33:25 EDT 2013


On 03/18/2013 08:01 PM, Cyrill Gorcunov wrote:
> mnt_entry::fstype is a part of image ABI, thus we need
> to provide some "common" encoding outside tools would
> know about this field encoding.
> 
> Thus we instorduce fstype enum in .proto file and use it
> in source code as well.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

Applied, but

> @@ -1,3 +1,13 @@
> +enum fstype {
> +	UNSUPPORTED		= 0;
> +	PROC			= 1;
> +	SYSFS			= 2;
> +	DEVTMPFS		= 3;
> +	BINFMT_MISC		= 4;
> +	TMPFS			= 5;
> +	DEVPTS			= 6;
> +};
> +
>  message mnt_entry {
>  	required uint32		fstype			= 1;

Mention on wiki, that we'd want this field to be enum fstype, not uint32.

>  	required uint32		mnt_id			= 2;
> 




More information about the CRIU mailing list