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:51:56 +0200
  • Message-id: <1372341116.23568.4.camel@acme.pacific>
On Thu, 2013-06-27 at 11:45 +0200, Carlos E. R. wrote:
Hash: SHA1


In 12.1 /media was a tmpfs and was created in an init script

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

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

Also, do you have anything in /etc/fstab that would get mounted
into /media at boot time?

Yours sincerely,

Roger Oberholtzer

Ramböll RST / Systems

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696

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

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

< Previous Next >
Follow Ups