Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
Why are you putting things in /media? –  Ignacio Vazquez-Abrams Apr 7 '12 at 8:34
1  
    
@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
1  
@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

 
discard

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

Browse other questions tagged or ask your own question.