[systemd-devel] Suppressing automounting
Mantas Mikulėnas
grawity at gmail.com
Mon Sep 8 12:48:10 PDT 2014
On Mon, Sep 8, 2014 at 10:32 PM, Dale R. Worley <worley at alum.mit.edu> wrote:
>> From: Simon McVittie <simon.mcvittie at collabora.co.uk>
>
>> > In my "Store.mount" file, I see no indication of an executable which
>> > implements the unit.
>>
>> I think it's always mount(8), which has its own extension mechanism to
>> dispatch per-filesystem if necessary (e.g. mount.cifs).
>
> What I was thinking of is, what is the program that reads (directly or
> indirectly) the Store.mount file and from that decides exactly how to
> call mount(8), and when to call it?
It's systemd itself (pid 1).
> My guess was that the name of this program would be listed *in* the
> *.mount file, but that does not appear to be so.
That would not make any sense: if the program wasn't running yet, how
could it possibly start itself in order to read the .mount file which
just tells it to start itself?
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list