diff options
-rw-r--r-- | runsc/boot/fs.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runsc/boot/fs.go b/runsc/boot/fs.go index 7786e4d4a..7ebf22de8 100644 --- a/runsc/boot/fs.go +++ b/runsc/boot/fs.go @@ -392,12 +392,14 @@ func mountFlags(opts []string) fs.MountSourceFlags { mf := fs.MountSourceFlags{} for _, o := range opts { switch o { + case "rw": + mf.ReadOnly = false case "ro": mf.ReadOnly = true case "noatime": mf.NoAtime = true default: - log.Warningf("ignorning unknown mount option %q", o) + log.Warningf("ignoring unknown mount option %q", o) } } return mf |