[systemd-devel] Automount some dirs at user ligin

Vasiliy Tolstov v.tolstov at selfip.ru
Wed May 18 19:37:50 UTC 2016


If this possible with systemd,why not use it? If not - I check pam_mount
18 Май 2016 г. 22:17 пользователь "killermoehre" <killermoehre at gmx.net>
написал:

Am 18.05.2016 um 21:14 schrieb Vasiliy Tolstov:
> I need to mount tmpfs on .cache for each user after login.
> How can I do that with systemd?
> S
> For example I want for user1 mount tmpfs on dir .cache, for user2 mount
> .cache to tmpfs also and so on.
> After logout last session for this user, I need to unmount it...
IMHO you should use pam_mount [1] for this instead.

[1] http://pam-mount.sourceforge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160518/6e453242/attachment.html>


More information about the systemd-devel mailing list