You are not logged in.
Hi, how would one go about setting up /tmp to be a ramdisk when using systemd? (I'm entirely new to systemd, but since Arch is switching to it I guess I need to learn it.) With rc.sysinit it was simple; I just added a call to "mount" early on in the script.
Last edited by jlindgren (2012-08-28 00:16:56)
Offline
Umm, I think you're generally encouraged to mount /tmp as tmpfs (which is kept in ram) which you can do from your fstab with a line like this;
tmpfs /tmp tmpfs nodev,nosuid 0 0Last edited by George (2012-08-26 22:19:10)
Offline
There was some reason I was mounting it earlier on than it would have been from /etc/fstab with initscripts -- but I can't remember what that reason was.
Possibly it would not even matter for systemd; anyway, I'll try it. Thanks.
Offline
There was some reason I was mounting it earlier on than it would have been from /etc/fstab with initscripts -- but I can't remember what that reason was.
Possibly it would not even matter for systemd; anyway, I'll try it. Thanks.
If you really need it early you should add a hook for the initrd and rebuild it. (similar to the usr-hook I think)
Last edited by progandy (2012-08-27 23:16:31)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I boot without an initrd, but since I can't remember why I wanted /tmp mounted early, and it seems to be working fine from fstab, I'm going to assume that it wasn't anything too important.
Offline
Solved?
Offline
Solved?
Yes. I can't find any place to edit the post title, though.
Offline
The 'edit' button on your first post.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
The 'edit' button on your first post.
Aha.
Offline