[opensuse] How to hotplug/automount USB stick on openSUSE 11.3 `Minimal X Window' installation
openSUSErs Having sucesfully installed openSUSE 11.3 `Minimal X Window' installation and done update manual mount of USB stick is straight forward and eg lsusb shows the device without any problems. However, I simply can't figure out how to enable hotplugging (or auto- mount, really not sure what is the proper phrasing) in the following sense: upon insertion of USB stick the OS should automatically mount and make the device available on /media/WhateverAppropriate irrespective of user. I've been over various discussions/posts on the web but didn't find conclusive description on what core mechanism is supposed (I sense that historically there has been different approaches to hotplugging ...) to be responsible of hotplugging on openSUSE 11.3. It may simply be that a package is not being installed now that I've chosen a `Minimal X Window' installation. Regards Mads Jeppe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-08-25 21:55, Mads Jeppe Tarp-Johansen wrote:
openSUSErs
Having sucesfully installed openSUSE 11.3 `Minimal X Window' installation and done update manual mount of USB stick is straight forward and eg lsusb shows the device without any problems.
However, I simply can't figure out how to enable hotplugging (or auto- mount, really not sure what is the proper phrasing) in the following sense: upon insertion of USB stick the OS should automatically mount and make the device available on /media/WhateverAppropriate irrespective of user.
I've been over various discussions/posts on the web but didn't find conclusive description on what core mechanism is supposed (I sense that historically there has been different approaches to hotplugging ...) to be responsible of hotplugging on openSUSE 11.3. It may simply be that a package is not being installed now that I've chosen a `Minimal X Window' installation.
The "core" mechanism is now implemented by each desktop, meaning gnome or kde. They monitor the udev-hal system, and mount themselves the devices when they come available. If you are unlucky to choose a desktop that doesn't handle automounting, well... you have to use manual mounting, or install and configure a daemon that does it for you. It is not a question of "enabling". There is one such daemon, but I don't remember the name. Also, have a look at the yast package manager, looking at the packages for your desktop, to see if there is something that seems to do mounting automatically. Look at the posts in the archive, it will be mentioned somewhere. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
On Thu, 2010-08-26 at 01:40 +0200, Carlos E. R. wrote:
On 2010-08-25 21:55, Mads Jeppe Tarp-Johansen wrote:
openSUSErs
Having sucesfully installed openSUSE 11.3 `Minimal X Window' installation and done update manual mount of USB stick is straight forward and eg lsusb shows the device without any problems.
However, I simply can't figure out how to enable hotplugging (or auto- mount, really not sure what is the proper phrasing) in the following sense: upon insertion of USB stick the OS should automatically mount and make the device available on /media/WhateverAppropriate irrespective of user.
Look at udev. I use this for automatically mounting removable SATA disks. It is independent of the window system. The window system integration allows you to have GUI-based notifications and control of the device (via KDE or GNOME for example). udev is not interactive. For removing the disks, I use sudo and umount. This way users can unmount the disk. The problem here is that I guess they could unmount any disks that are not in use. Restricting who can unmount items is probably another feature of GUI interfaces. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Mads Jeppe Tarp-Johansen
-
Roger Oberholtzer