On 12/31/2011 07:56 AM, Stefan Seyfried wrote:
Am 31.12.2011 13:35, schrieb Robert Schweikert:
With 12.1 /media is now mounted as tmpfs. As I used to have a number of directories in /media (used as mount points for ISO images), I created the following script in /etc/tmpdirs.d to get the directories I want in /media
-> cat /etc/tmpdirs.d/02_media mediaDirs=( os11332 os11364 os11432 os11464 os12132 os12164 sle10sp432sdk \ sle10sp464sdk sle11sp132sdk sle11sp164sdk sled1032 sled1064 \ sled10sp432 sled10sp464 sled11sp132 sled11sp164 sles1032 \ sles1064 sles10sp432 sles10sp464 sles11sp132 sles11sp164)
for medDir in ${mediaDirs[@]};do test -d /media/$medDir || mkdir /media/$medDir done
However, upon reboot the /media directory is empty, what am I missing?
I seem to remeber that with systemd, now /etc/tmpfiles.d is used.
Thanks, obviously a reading problem on my part, the man page does indeed state /etc/tmpfiles.d and not /etc/tmpdirs.d as claimed in my original post, duh Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org