* Roger Oberholtzer
On Wed, 2013-06-05 at 20:11 -0400, Anton Aylward wrote:
And if you want it to be there after every boot, why that's what /etc/tmfiles.d is for!
As long as /etc/tmpfiles.d is GUARANTEED to run after boot.localfs is 100% complete. If it runs before, the nice sub-dirs created in /media may be hidden when boot.localfs later mounts /media. Or, since /etc/tmpfiles.d made the /media and subdirectories before boot.locafs ran, the later running boot.localfs will not mount /media as a tmpfs (which is actually the case).
These two (and the others I listed) interact. But I still do not know what the intended interaction is. Who gets first/last crack at things? Without this clearly stared the behavior is non-deterministic. AKA, unsafe.
But as Patrick says, it seems a strange request when its dealt with dynamically.
Define 'dynamically' :)
[...] I label (assign a label) to all of my *removable* media. When the system sees that media, it assigns a mount-point, /media/<my-label>, automagically. To affect automagical mounting: systemsettings -> Removable Devices -> <Make the choices you desire>. I have made several *special* assignments particular to my work-flow. They are text files at ~/.kde4/share/apps/solid/actions/ ie, Transfer-Photos-MC-Soccer.desktop <quote> [Desktop Action open] Exec=xterm -geometry 150x40 -e mc /media/ /paka-A/photos/2013/soccer/ Icon=unknown Name=Transfer Photos MC Soccer [Desktop Entry] Actions=open; Type=Service X-KDE-Action-Custom=true X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND \ StorageVolume.usage == 'FileSystem' ] \ OR Camera.supportedDrivers == 'gphoto'] X-SuSE-translate=true </quote> Upon insertion and completion of automounting, a list of selectable options appears in the device notifier widget. The one mentioned above opens an xterm instance of a particular size containing mc with two predetermined directories. I haven't tried if it is possible to automagically utilize this choice..? I hope this is helpful. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org