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.