On Jul 09 2018, Andrew Chambers <
andrewc...@gmail.com> wrote:
> The problem I am trying to solve is to automatically fsck from a systemd
> unit if it would be needed to minimize human interaction.
>
> Is this a simple and reliable way to test from a shell script before I
> mount whether or not an fsck will be necessary?
Just run fsck.s3ql unconditionally. If no fsck is necessary, it will
exit without doing anything.
Best,
-Nikolaus
--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«