Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] How should one make /media a tmpfs under 12.3?
Carlos E. R. said the following on 06/28/2013 11:23 PM:
On Friday, 2013-06-28 at 15:20 -0400, Anton Aylward wrote:
Carlos E. R. said the following on 06/28/2013 02:38 PM:

I don't undertand this. Symlink /media to dev/null?

Symlink the appropiate /etc/tmp*.d/<whatver> or the /usr/lib equivalent to
/dev/null like it says in thee man page:

If the administrator wants to disable a configuration file supplied by the
vendor the recommended way is to place a symlink to /dev/null in
/etc/tmpfiles.d/ bearing the same file name.


Ok, but I do not want to disable any of those files, AFAIK.

Yes you do.

You've said a number of times that you don't know where/why /tmp is being created as a regular directory on boot and don't want it to hapen.

We've been telling you that the above is the why, where the files are and how to stop it hapepning.

You don't have to delete the /usr/lib/tmpfiles.d file, you just over-ride it in /etc/tmpfiles.d with the symlink.

If you don't like that you can revert easily by remvoing the file in /etc/tmpfiles.d

And RTFM only applies if you know what to look for already.

Again, we've told you a number of times and and I've said many, many times "use apropos".

You have
probably read all those manuals and remember them and know the relations
from one to the other, and probably much more than those manuals say. If I
read some of the manuals (I did) they tell me very little.

Nonsense! Nonsense on all counts.
I run apropos; I google. I re-read the man pages.
I look at what other people have done and discuss. I keep reading because I don't get it all the first time and Cristian and others keep rubbing my nose in my oversights.

Oh, and I have the junker from the Closet of Anxieties so I can experiment.

No, I don't 'remember'. When I write that last message to you I had to keep re-reading the man page because not only wasn't it in my long term memory, it wasn't in my short term memory either. I must have run 'man' about 20 times to compose that message. Somewhere along the line I saw things I'd never noticed before.

to find some examples. But you see, there is no entry there for "/run" or
"/var/run", so I took the example from a wrong entry.

I have
$ ls -l /usr/lib/tmpfiles.d/tmp.conf
-rw-r--r-- 1 root root 564 Jun 13 05:50 /usr/lib/tmpfiles.d/tmp.conf

and it reads


So THAT is responsible for creating and cleaning /tmp

Yes, I know, I have seen that file previously, I'm aware of it. I may not
remember all the time, though.


So that is the one that you have to override... like the man page says.

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

Mostly because I never get it right the first time, or the second, or the third. I keep trying. With different words; With different word orders, Sometimes settling it to exclude stuff.

Its not luck; its persistence.

Just like with apropos-ing for man pages,
Just like re-reading man pages.

There's a truism that the road to Hell is often paved with good intentions.
The corollary is that evil is best known not by its motives but by its
-- Eric S. Raymond
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups