Commit 3650264e authored by Guido Gunther's avatar Guido Gunther
Browse files

Don't pass any filesystem flags for f2fs

It does not like errors=remount-ro and mounts the rootfs ro in this
parent c2e33785
......@@ -182,7 +182,7 @@ class Filesystem(Base):
def get_mount_flags(fstype):
"""Return the fstab mount flags for a given file system type."""
flags = ['errors=remount-ro']
if fstype == 'btrfs':
if fstype in ['btrfs', 'f2fs']:
flags = []
return ','.join(flags) or 'defaults'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment