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 21:12:37 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1306292105520.18830@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Saturday, 2013-06-29 at 08:16 -0400, Anton Aylward wrote:
Carlos E. R. said the following on 06/29/2013 07:22 AM:

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


*W*H*Y* is it not working?

Have you disabled the creation of the directory as discussed previously by the over-ride in /etc/tmpfiles.d/ ???


(my objetive is having /media a tmpfs, not changing /tmp)


What I have now, is the creation of an empty directory at "/var/run/media" (done by "/etc/tmpfiles.d/media.conf"). Then I have "/etc/systemd/system/media.mount" which should bind-mount /media to it, but this is failing. I think I also need:

/usr/lib/systemd/system/local-fs.target.wants/media.mount -->
/etc/systemd/system/media.mount

or equivalent. I haven't tried this yet (and I don't like adding files to "/usr/lib/systemd/", i prefer /etc/systemd). And then I have to find out if automounting of devices, globally, still works.

- -- Cheers,
Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlHPMawACgkQtTMYHG2NR9WUDACfQrsjSyS4GJViuvpbL3mXphb6
wP0AmwYqPfLmzFOxTQF6++hY2mj82HAY
=EYtT
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups