On 02/20/2011 07:33 AM, David Relson wrote:
Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but "df" didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is:

     KERNEL=="sd*1", ATTRS{manufacturer}=="PNY", SYMLINK+="PNY", RUN+="/bin/mount 
-a"

and in /etc/fstab is:

     /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).

Looks like udev is creating the device immediately, as it should.  I'm
pretty fuzzy on how the automounting actually gets done, though.

I've noticed this puzzling situation on my own machines (which auto-mount
correctly, BTW):

 1929 ?        Sl     0:04 /usr/libexec/udisks-daemon
 1930 ?        S      0:01  \_ udisks-daemon: polling /dev/sdc /dev/sr0 /dev/sdd

And this as well:

 1647 ?        S      0:02      \_ hald-addon-storage: polling /dev/sr0 (every 
2 sec)
 1648 ?        S      0:00      \_ hald-addon-storage: polling /dev/sdd (every 
2 sec)
 1650 ?        S      0:00      \_ hald-addon-storage: polling /dev/sdc (every 
2 sec)

So I have hal and udisks polling the same three removable drives at the same
time, but they don't seem to interfere with each other.

I'm using gnome with automounting enabled, so I'm pretty sure it's gnome that
automounts those three removable drives, possibly with gdu-notification-daemon,
which is part of the gnome-disk-utility package.  A whole lotta guessing going
on here :)


Reply via email to