Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/mnt-data.mount
Stefan Agner b1df44421b Bump commit interval to 30s (#2103)
A higher file system commit interval can help to decrease the amount of
writes. In tests, a commit interval of higher than 30s seems not to help
much in practice. Settle with 30s for now.
2022-09-02 15:23:38 +02:00

19 lines
464 B
SYSTEMD

[Unit]
Description=HassOS data partition
Wants=hassos-expand.service
DefaultDependencies=no
After=hassos-expand.service
Before=umount.target local-fs.target
Conflicts=umount.target
After=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2ddata.service
Wants=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2ddata.service systemd-growfs@mnt-data.service
[Mount]
What=/dev/disk/by-label/hassos-data
Where=/mnt/data
Type=ext4
Options=commit=30
[Install]
WantedBy=local-fs.target