mirror of
https://github.com/siderolabs/talos.git
synced 2026-05-06 04:46:17 +02:00
fix: enable long timestamps for xfs
This "fixes" the message like: ``` xfs filesystem being mounted at /var supports timestamps until 2038 (0x7fffffff) ``` We should support Talos beyond 2038, even if we switch to a different filesystem type by 2038 :) Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
be00d77492
commit
2b68c8b67b
@ -27,7 +27,8 @@ func XFS(partname string, setters ...Option) error {
|
||||
opts := NewDefaultOptions(setters...)
|
||||
|
||||
// The ftype=1 naming option is required by overlayfs.
|
||||
args := []string{"-n", "ftype=1"}
|
||||
// The bigtime=1 metadata option enables timestamps beyond 2038.
|
||||
args := []string{"-n", "ftype=1", "-m", "bigtime=1"}
|
||||
|
||||
if opts.Force {
|
||||
args = append(args, "-f")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user