mount options for fewer write operations

This commit is contained in:
Scott Lamb 2019-07-20 15:33:51 -07:00
parent 2ead8f8332
commit 81ae879ac6

View File

@ -55,7 +55,7 @@ $ sudo install -d -o moonfire-nvr -g moonfire-nvr -m 700 /media/nvr/sample
In `/etc/fstab`, add a line similar to this:
```
/dev/disk/by-uuid/23d550bc-0e38-4825-acac-1cac8a7e091f /media/nvr ext4 defaults,noatime,nofail 0 2
/dev/disk/by-uuid/23d550bc-0e38-4825-acac-1cac8a7e091f /media/nvr ext4 nofail,noatime,lazytime,data=writeback,journal_async_commit 0 2
```
You'll have to lookup the correct uuid for your disk. One way to do that is