Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] How should one make /media a tmpfs under 12.3?
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Thu, 27 Jun 2013 15:32:09 +0200
  • Message-id: <1372339929.23568.3.camel@acme.pacific>
On Thu, 2013-06-27 at 11:45 +0200, Carlos E. R. wrote:
-----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 as a
physical directory before the tmpfs can be created. Who/what is creating

I thought in 12.3 that /media was once again a static folder on root. On
my 12.3 system /media is not tmpfs. I only saw that on 12.1 (leading me
to start a related thread a month or so ago).

If you remove /media and then reboot (without your tmpfiles file) do you
get a /media directory?


Yours sincerely,

Roger Oberholtzer

Ramböll RST / Systems

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References