[systemd-devel] mount unit with special requirements

Michael Hirmke mh at mike.franken.de
Tue Sep 11 18:56:00 UTC 2018


Hi,

[...]
>> No, I wrote:
>>
>> *- The partition has to be mounted on boot.*

>Well, what does that mean? Do you just want the path to be available?
>if so, that's what an automount unit will do for you without actually
>mounting the superblock. Or do you want the superblock to be hooked in
>already? If so, why? Why wouldn't the automount be good enough?

to be honest, I never tried it, but I will - following your approach
from the other mail.

>> - It has to be unmounted before the nightly copy job, so that an fsck
>>   can be performed.

>Well, but why would you do that. Why isn't it enough to run the fsck
>once before the first mount after each time the device initially
>appeared?

I simply never used automount units, so I had no idea about their
capabilities.

>Lennart

Bye.
Michael.
-- 
Michael Hirmke


More information about the systemd-devel mailing list