1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

Update default MOUNT_OPTIONS beesd.in

`noatime` to avoid updating atime;
`nodev,noexec,nosuid` for the pedantic.
This commit is contained in:
Jiahao XU 2021-09-04 13:14:39 +10:00 committed by Zygo Blaxell
parent 951b5ce360
commit ccec63104c

View File

@ -91,7 +91,7 @@ MNT_DIR="${MNT_DIR:-$WORK_DIR/mnt/$UUID}"
BEESHOME="${BEESHOME:-$MNT_DIR/.beeshome}"
BEESSTATUS="${BEESSTATUS:-$WORK_DIR/$UUID.status}"
DB_SIZE="${DB_SIZE:-$((8192*AL128K))}"
MOUNT_OPTIONS="${MOUNT_OPTIONS:-}"
MOUNT_OPTIONS="${MOUNT_OPTIONS:-noatime,nodev,noexec,nosuid}"
INFO "Check: Disk exists"
if [ ! -b "/dev/disk/by-uuid/$UUID" ]; then