Unwanted mounts (udevd/hald/ivman)



This is on debian (mostly etch)

When I connect an USB stick it immediately gets mounted to /media/xxx.
It seems like udev first notices the event and passes it on to hald,
because this no longer happens when I stop either udev or hald (dbus).

Why is this a problem to me?

(1) I don't undestand what is going on. I cannot figure out how and why
hald tries to mount the USB device. Furthermore I don't undetstand what
ivman does in this context. It seems to me that all these programs
(udev, hald, ivman, hotplug and additionally some kde/gnome programs)
can automatically mount and unmount devices.

(2) I cannot unmount the USB stick from the Thunar file manager. When I
umount /dev/sda *manually* and then click on the "128 MB removable
medium" in Thunar, it mounts /dev/sda and I can unmount it from Thunar
just fine. But when udevd, hald or whoever mounts it FIRST, then Thunar
can no longer unmount it.

(Is there a recmommended ("least-messy") way of setting up or using
udev/hald/ivman?
.



Relevant Pages

  • Re: Has anyone dumped udev for devfs?
    ... |>I am trying to get a Microtek X12 USL scanner attached, and udev fails ... |I'm not sure what USB has to do with a SCSI scanner... ...
    (Fedora)
  • Re: Network Device Naming mechanism and policy
    ... that one event's modprobe completes before beginning a second ... This leads to naming races in the kernel, ... Udev operates on a single device instance at a time, ... Would the device name change depending on which USB ...
    (Linux-Kernel)
  • Re: X and second mouse
    ... I have to shut down all my apps, plug the USB mouse in, then start ... - in the kernel, so X does't have an idea where the input comes from. ... There is an input driver for X called "evdev" that _theoretically_ can identify devices according to vendor name, model name, device ID, USB port plugged in and other fancy things. ... You can tell udev to give a specific name to a device file when a certain device is plugged in, again according to vendor, model, physical port, etc. ...
    (comp.os.linux.x)
  • Re: The ext3 way of journalling
    ... While that is true, configuration tools such as, ads aside, yast2 ... udev will fix it. ... USB disks appear as some randomly ordered scsi nodes, ... SCSI device mappings. ...
    (Linux-Kernel)
  • Re: How to set up Logitech Quickcam Chat in Debian Testing
    ... usb 4-2: new full speed USB device using uhci_hcd and address 3 ... That happens because udev should normally handle the device nodes ... and then plug in the camera? ... make sure that the hotplug package is now purged. ...
    (Debian-User)