[systemd-devel] Automount some dirs at user ligin

killermoehre killermoehre at gmx.net
Wed May 18 19:17:36 UTC 2016


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/


More information about the systemd-devel mailing list