The user-tmpfs program prepares
a user owned tmpfs for
the user defined in the USER
environment variable.
The user owned tmpfs is created at
@tmpfsdir@/@usrrundir@/${USER}.
user-tmpfs
USER environment variable,
if it is empty it exits 100.
USER_TMPFSDIR_SIZE environment variable,
defaulting to 64m if undefined.
@tmpfsdir@/@usrrundir@/${USER}.
USER_TMPFSDIR_SIZE
with its root owned bi USER
and mode 0755
at @tmpfsdir@/@usrrundir@/${USER}.
user-tmpfs is intended to be used in a boot time system supervision tree oneshot service to prepare the user runtime directory of a user. For each user who should have a user runtime directory, there should be a distinct oneshot running user-tmpfs.
Alternatively, user-tmpfs could be run by a login manager after login, but befor initiating the first user supervision tree.