| 1 |
// SPDX-License-Identifier: MIT |
| 2 |
|
| 3 |
syntax = "proto2"; |
| 4 |
|
| 5 |
import "opts.proto"; |
| 6 |
|
| 7 |
enum fstype { |
| 8 |
UNSUPPORTED = 0; |
| 9 |
PROC = 1; |
| 10 |
SYSFS = 2; |
| 11 |
DEVTMPFS = 3; |
| 12 |
BINFMT_MISC = 4; |
| 13 |
TMPFS = 5; |
| 14 |
DEVPTS = 6; |
| 15 |
SIMFS = 7; |
| 16 |
PSTORE = 8; |
| 17 |
SECURITYFS = 9; |
| 18 |
FUSECTL = 10; |
| 19 |
DEBUGFS = 11; |
| 20 |
CGROUP = 12; |
| 21 |
AUFS = 13; |
| 22 |
MQUEUE = 14; |
| 23 |
FUSE = 15; |
| 24 |
AUTO = 16; |
| 25 |
OVERLAYFS = 17; |
| 26 |
AUTOFS = 18; |
| 27 |
TRACEFS = 19; |
| 28 |
|
| 29 |
/* These three are reserved for NFS support */ |
| 30 |
// RPC_PIPEFS = 20; |
| 31 |
// NFS = 21; |
| 32 |
// NFS4 = 22; |
| 33 |
|
| 34 |
CGROUP2 = 23; |
| 35 |
}; |
| 36 |
|
| 37 |
message mnt_entry { |
| 38 |
required uint32 fstype = 1; |
| 39 |
required uint32 mnt_id = 2; |
| 40 |
required uint32 root_dev = 3 [(criu).dev = true]; |
| 41 |
required uint32 parent_mnt_id = 4; |
| 42 |
required uint32 flags = 5 [(criu).hex = true]; |
| 43 |
|
| 44 |
required string root = 6; |
| 45 |
required string mountpoint = 7; |
| 46 |
required string source = 8; |
| 47 |
required string options = 9; |
| 48 |
|
| 49 |
optional uint32 shared_id = 10; |
| 50 |
optional uint32 master_id = 11; |
| 51 |
|
| 52 |
optional bool with_plugin = 12; |
| 53 |
optional bool ext_mount = 13; |
| 54 |
|
| 55 |
optional string fsname = 14; |
| 56 |
optional bool internal_sharing = 15; |
| 57 |
|
| 58 |
optional bool deleted = 16; |
| 59 |
optional uint32 sb_flags = 17 [(criu).hex = true]; |
| 60 |
/* user defined mapping for external mount */ |
| 61 |
optional string ext_key = 18; |
| 62 |
} |