On Tue, 2013-06-04 at 23:21 +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-06-04 23:22, Roger Oberholtzer wrote:
I saw this and will do this. I am still curious how the contents of /media are being put back after boot when it is a tmpfs. Life is full of mysteries.
It shouldn't. It is a tmpfs precisely to destroy everything on boot. I don't believe they did any thing to restore directories.
Are you sure it is a tmpfs in your computer? Please verify it.
Yes it is. mount reports: tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755) Upon reboot (did one just now to be sure), the directory is not empty. It contains come directories and sub-directories that were created there some time in the past. The reason that this came up is that I have two 12.1 systems that are acting differently in this respect. I cannot find the reason. Someone has done something, but I cannot find it! If I want to populate /media with something so things can be mounted, I guess I have two options: 1. Add something to a system startup script that makes what I need. I do not want to edit an init script as it may be overwritten. I see the /etc/tmpfiles.d directory where I could add a file. But I think this is done before boot.localfs is run. So if I make what I need there then /media will not be mounted as tmpfs. I do not want to change the expected system behavior. I want to compliment it. 2. The disks are identified via a udev rule, and a symlink made in /dev as is appropriate. This is because there are 4 removable disk bays and the disk in a specific drive bay has a meaning. Perhaps I could add making the eventual mount point in the udev rule. The advantage is that I could also remove the mount point when the disks are removed. Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org