Remove relatime mount option
This has been the kernel default for a long time.
This commit is contained in:
parent
1f5f472a8a
commit
f40c7ed143
@ -41,7 +41,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
options = mkOption {
|
options = mkOption {
|
||||||
default = "defaults,relatime";
|
default = "defaults";
|
||||||
example = "data=journal";
|
example = "data=journal";
|
||||||
type = types.commas;
|
type = types.commas;
|
||||||
description = "Options used to mount the file system.";
|
description = "Options used to mount the file system.";
|
||||||
@ -69,8 +69,6 @@ let
|
|||||||
config = {
|
config = {
|
||||||
mountPoint = mkDefault name;
|
mountPoint = mkDefault name;
|
||||||
device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType);
|
device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType);
|
||||||
# The vboxsf filesystem doesn't support the relatime option:
|
|
||||||
options = mkIf (config.fsType == "vboxsf") (mkDefault "defaults");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user