Adding rules, scripts, etc. to udev/hal

Serguei Miridonov mirsev at cicese.mx
Thu Dec 13 02:57:29 UTC 2007


The situation: External USB hard drive (WD Passport) mounts 
automatically when connected, works OK, and unmounts when 
choosing "Safely Remove" on the icon menu...

However, it does not stop spinning after unmounting and 
disconnecting the USB cable makes the drive to do emergency 
heads parking. To stop the drive I have to use "sdparm -C 
stop /dev/sdb" before disconnecting.

Is there any way to do this automatically? Any user guide to 
udev/hal subsystems?

Thanks.




More information about the fedora-list mailing list