mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
mount: Full parse of proc mountinfo file
The proc_parse file turns into a strange pile of homebrew scanf/fgets/strtok/strchr/etc. combination. I don't like it :( Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -91,6 +91,12 @@ struct proc_mountinfo {
|
||||
unsigned int s_dev;
|
||||
char root[64];
|
||||
char mountpoint[64];
|
||||
unsigned flags;
|
||||
int master_id;
|
||||
int shared_id;
|
||||
char fstype[32];
|
||||
char source[64];
|
||||
char options[128];
|
||||
struct proc_mountinfo *next;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user