Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In OS 11.4 /media is a regular directory. Whatever I put there, it stays.

In OS 12.1 /media is tmpfs. Whatever I put there, on next restart is gone.

The question is -- how to get rid of tmpfs on /media, and "convert" it to regular directory as before.

I checked /etc/fstab -- there is no entry for /media.

share|improve this question
Why are you putting things in /media? – Ignacio Vazquez-Abrams Apr 7 '12 at 8:34
@sr_, thank you, I know, I just pointed it out to avoid answer "remove it from /etc/fstab". – greenoldman Apr 7 '12 at 11:42
@macias, you're probably better off leaving this as it is. While you could locate systemd's service file handling this mount point, who knows what happens next... How about ~/media or /data? – sr_ Apr 7 '12 at 12:40
@macias in openSUSE 12.1 there still is an option to use a SysV init which shuldn't do this - the question is, whether having /media as tmpfs is a good enough reason for switching the init system back (not that there wouldn't be more other reasons). – peterph Nov 5 '12 at 23:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.