I've been using the script above in comment 7 (https://bugs.launchpad.net/ubuntu/+bug/117713/comments/7), but I decided to put an encrypted filesystem on it using the directions here: https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage
However, the sdparm commands do not work any more. I get the error message open error: /dev/mapper/luks [read/write]: No such file or directory sdparm expects a device name like /dev/sdb1; this is what the script reads out from /etc/mtab. But the encrypted filesystem's entry is something like /dev/mapper/luks[...], and that cannot be given as an argument to sdparm. So is there any file from which the device name can be read off in order to modify the script? -- 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