From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 Description of problem: It seems that USB hotplug does not update the hwconf database. Kudzu is not run. The updfstab command *is* run but it relies on information being added to hwconf. The kernel detects and configures /dev/sd* correctly. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Attach USB flash card Actual Results: Nada. Expected Results: Ideally /mnt/flash will be mounted but I'll settle for it being added to /etc/fstab. Additional info: I was able to fix this with the following patch: % diff -u /etc/hotplug/hotplug.functions{.original,} --- hotplug.functions.original 2003-08-08 13:07:31.000000000 -0400 +++ hotplug.functions 2003-08-08 12:47:12.000000000 -0400 @@ -170,6 +170,7 @@ fi fi if echo "$MODULE" | grep -q "usb-storage" > /dev/null 2>&1 ; then + [ -x /usr/sbin/kudzu ] && /usr/sbin/kudzu -s [ -x /usr/sbin/updfstab ] && /usr/sbin/updfstab fi done
This actually works for you? It shouldn't. updfstab does its own probing unless run with --skipprobe; calling kudzu shouldn't make any difference at all. I'd guess it's because of the delay when the device is created and the partition table is read/recognized.
You are right about kudzu not being required for the device to be added to fstab. I think was confused by bug 101990. However, the subject line of this bug is still valid. The hwconf database should get updated when hardware is added (and when removed).
Closing out bugs on older, no longer supported, releases. Apologies for any lack of response. Please reopen if problems persist on more current releases. This won't be changed in hotplug/kudzu; future releases do update the HAL hardware database on hotplug.