Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] How should one make /media a tmpfs under 12.3?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В Thu, 27 Jun 2013 11:45:34 +0200 (CEST)
"Carlos E. R." <robin.listas@xxxxxxxxxxxxxx> пишет:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hi,

In 12.1 /media was a tmpfs and was created in an init script
(/etc/init.d/boot.localfs):

if test -d /media && ! mountpoint -q /media; then
mount -n -t tmpfs -o mode=0755,nodev,nosuid tmpfs /media
fi


In 12.3 I tried creating "/etc/tmpfiles.d/media.conf":

d /media 0755 root root 10d


But it does not work, because something creates that directory

Err ... from man tmpfiles.d(5)

d
Create a directory if it doesn't exist yet

Carlos, do you have some strong reasons to *not* read systemd related
manual pages? :)

as a
physical directory before the tmpfs can be created. Who/what is creating
it?

- --
Cheers

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

iEYEARECAAYFAlHMCb4ACgkQtTMYHG2NR9WC8wCgi1R9dQXQnVJAHm9tVggz5d58
hzsAn0tucU/G2nk36mcjXHKIuB0N1ku1
=nUSI
-----END PGP SIGNATURE-----

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

iEUEARECAAYFAlHM+g0ACgkQR6LMutpd94yp7QCUCPjfVcptX5yptmyaYKHPqJOZ
cACgmcxXbgpMBC50t/Br5Wehoup5ILQ=
=zbRj
-----END PGP SIGNATURE-----
< Previous Next >
Follow Ups
References