On 15.12.2012 01:18, Michael Biebl wrote: > We can either: > a/ hard code it and ship a run-user.mount unit in /lib/systemd/system > b/ generate it dynamically upon installation and store the mount unit in > /etc/systemd/system > > If a/, the question is which size we chose, if b/ which percentage of > the available RAM we use.
As for a/, we could ship a file like the attached one and a symlink in /lib/systemd/systemd/local-fs.target.wants/. That would be all that is needed. The options are taken from mountall. Generating it dynamically in postinst shouldn't be much harder. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
[Unit] Description=User Runtime Directory Before=local-fs.target [Mount] What=tmpfs Where=/run/user Type=tmpfs Options=nodev,noexec,nosuid,size=104857600,mode=0755
signature.asc
Description: OpenPGP digital signature