Linux – Is it possible to modify linux mount defaults option


Is it possible to modify/redefine linux mount defaults option?

For example, having a fstab like this:

# / was on /dev/sda8 during installation
UUID=669cb10d /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=43e81f24 /home           ext4    defaults        0       2

Is it possible to redefine the "defaults" option?

I know that it's usually defined like this:

defaults: rw, suid, dev, exec, auto, nouser, and async. see man mount

Best Answer

There seems to be some support for setting default mount options for ext4 using tune2fs.

The syntax is something like tune2fs -E mount_opts=.. device

More info here and in man tune2fs

Related Question