mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
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@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
22 lines
447 B
Protocol Buffer
22 lines
447 B
Protocol Buffer
enum fstype {
|
|
UNSUPPORTED = 0;
|
|
PROC = 1;
|
|
SYSFS = 2;
|
|
DEVTMPFS = 3;
|
|
BINFMT_MISC = 4;
|
|
TMPFS = 5;
|
|
DEVPTS = 6;
|
|
};
|
|
|
|
message mnt_entry {
|
|
required uint32 fstype = 1;
|
|
required uint32 mnt_id = 2;
|
|
required uint32 root_dev = 3;
|
|
required uint32 parent_mnt_id = 4;
|
|
required uint32 flags = 5;
|
|
|
|
required string root = 6;
|
|
required string mountpoint = 7;
|
|
required string source = 8;
|
|
required string options = 9;
|
|
}
|