feat(aa): add requirements map.
This commit is contained in:
parent
e38f5b4637
commit
744c745394
14 changed files with 163 additions and 10 deletions
|
|
@ -15,7 +15,18 @@ const (
|
|||
tokUMOUNT = "umount"
|
||||
)
|
||||
|
||||
)
|
||||
func init() {
|
||||
requirements[tokMOUNT] = requirement{
|
||||
"flags": {
|
||||
"acl", "async", "atime", "bind", "dev", "diratime", "dirsync", "exec",
|
||||
"iversion", "loud", "mand", "move", "noacl", "noatime", "nodev",
|
||||
"nodiratime", "noexec", "noiversion", "nomand", "norelatime", "nosuid",
|
||||
"nouser", "private", "rbind", "relatime", "remount", "ro", "rprivate",
|
||||
"rshared", "rslave", "runbindable", "rw", "shared", "silent", "slave",
|
||||
"strictatime", "suid", "sync", "unbindable", "user", "verbose",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
type MountConditions struct {
|
||||
FsType string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue