i am on ubuntu 7.10 and have a wd passport 120gb (so still the first generation of wdp) as well and noticed this annoying bug quite a while ago; still i wasn't aware of this bugreport. i would very much appreciate a fix or even a patch for this bug - the workaround-scripts are quite a nuisance. (especially when you think of newbies that use their wd-passport to exchange data from time to time with friends that are on linux too; so they would have to take the script with them wherever they go) so here's my workaround (just a quite ugly shell-script that uses scsi-spindown which can be found in the package scsitools):
(drawback to this script: the drive has to be mounted for the script to work, otherwise it will not be found via mount; so in case you just plug it in but never mount it this script will not spin down your hdd;) -------------------------------------------------------- #!/bin/bash echo " * Looking where WD Passport is hangin' out tonight" LOCATION=$(mount | grep "WD Passport") # check whether you actually found WD Passport if [ ${#LOCATION} != "0" ] then echo " * Found it at" ${LOCATION:0:9}"" else echo "Was unable to find WD Passport - something strange happened. Please consult your Microsoft attendant." exit fi # in case the user does abort instead of granting superuser rights at least display an error message echo " * Requesting superuser-rights for the spindown" if sudo umount ${LOCATION:0:9} then echo " * Spinning down" ${LOCATION:0:9} scsi-spin -d ${LOCATION:0:9} echo "WD Passport (aka "${LOCATION:0:9}")is now safe to remove." else echo "An unknown error occured. Please consult your Microsoft attendant." exit fi -- not proper dismounting for WD passport harddrive (making noise when unplug) https://bugs.launchpad.net/bugs/117713 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs