Vincent Untz <vuntz@opensuse.org> writes:
Can you elaborate on why you want to directly use the command line tools, instead of configuring the desktop to do the auto-mounting?
The desktop (xfce) no longer automatically mounts the devices and I'd like to stick with desktop-defaults as much as possible. But in the end, I'll probably switch the default. Oops, I just see that the options are already enabled, but the filemanager does not actually mount the device, it just displays the label; if you click it, it gets mounted... (I guess this is what Phillip meant). "Stefan Brüns" <Stefan.Bruens@rwth-aachen.de> writes:
Am 09/26/12, schrieb Karl Eichwalder <ke@suse.de>:
Someone out there who know how you can use these tools without too much pain from the command line?
Hm, depends on what you want to achieve:
1. mount all SD cards 2. mount any USB storage when it becomes available 3. mount some storage with a known name/label
For the last point, you can use one of the symlinks in /dev/disk/by-*.
For the other ones, I think you have to write some script which either parses the output of --monitor/--dump respectively, or directly talk to udisks(2) via dbus.
Thanks for the backgorund info. I was hoping someone out there had already written such a script ;) -- Karl Eichwalder SUSE LINUX Products GmbH R&D / Documentation Maxfeldstraße 5 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org