Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] How should one make /media a tmpfs under 12.3?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sat, 29 Jun 2013 13:22:53 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1306291255090.15368@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Saturday, 2013-06-29 at 05:23 +0200, Carlos E. R. wrote:
On Friday, 2013-06-28 at 15:20 -0400, Anton Aylward wrote:

...

However I'd start from systemd :-)
https://bbs.archlinux.org/viewtopic.php?pid=1199924#p1199924

More discussion at
https://bbs.archlinux.org/viewtopic.php?pid=1176170

Isn't google wonderful?

Thanks, I'll have a look at those.

Google is wonderful if you are lucky or you have a good idea what to look for.

But don't forget this thread
http://opensuse.14.x6.nabble.com/On-cleaning-tmp-systemd-private-td4990626i20.html

Ok, that one too. I have the four opened for reading later.


Ok, this one <http://forums.debian.net/viewtopic.php?t=16450> (HOWTO: Using tmpfs for /tmp, /var/{log,run,lock...}) uses sysv.

<https://bbs.archlinux.org/viewtopic.php?pid=1199924#p1199924> (Index » Newbie
Corner » /tmp as tmpfs)


Ok, they use "/lib/systemd/system/tmp.mount" like this:

[Unit]
Description=Temporary Directory
Documentation=man:hier(7)
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target

[Mount]
What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime


which looks reasonable. But I'm trying to bind mount and it is not working.


<https://bbs.archlinux.org/viewtopic.php?pid=1176170> (Index » Newbie Corner »
[Solved] /tmp under systemd)

It is about undoing /tmp as a tmpfs. I don't need that either, openSUSE already defaults to not having it a tmpfs.


<http://opensuse.14.x6.nabble.com/On-cleaning-tmp-systemd-private-td4990626i20.html> (On cleaning /tmp/systemd-private-* )

Cristian does this:

mkdir -p /etc/systemd/system/local-fs.target.wants
ln -s /usr/lib/systemd/system/tmp.mount
/etc/systemd/system/local-fs.target.wants/tmp.mount




I do have a "/etc/systemd/system/media.mount" which is not working. To make it run should I create a symlink to it in some target.wants directory? Makes sense, but sounds a bit cludgy.

(If there is a nice, easy, document that explains this, please say)



- -- Cheers,
Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlHOw5UACgkQtTMYHG2NR9XcfQCdGiIFv9zO6t1YJYqhf/9fUj8R
nisAoJVsM3W20wNwj9T6mVToRFDb4Zlj
=D0/j
-----END PGP SIGNATURE-----
< Previous Next >
Follow Ups