criu/protobuf/mnt.proto
Cyrill Gorcunov 62d532a97f mount: Add PB entries for FS types
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>
2013-03-18 22:32:57 +04:00

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;
}