Am 06.07.2014 16:39, schrieb Michael Meskes:
>> How does the quota package ensure it is run when an actual device shows
>> up and is mounted? Afaics it is only run once during boot.
> 
> Argh, you're right, that it doesn't do. But it should. How does systemd make
> sure its quotaon service is run in that case?

Looking at src/core/mount.c, it hooks up the call to quoatecheck.service
and quotaon.service up in the individual .mount unit [1].

Michael



[1]
http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=blob;f=src/core/mount.c;h=10073b50be0b720cca06d9339a13b14b897bd75e;hb=HEAD#l411

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to