udiskie includes internal HDDSee original GitHub issue
I was under the assumption that udiskie should only include external HDDs, since it never showed my internal drives (this is of course more desirable). However, I recently added an internal HDD that is Btrfs RAID 1 on LVM on LUKS and it is listed by udiskie as a drive that I can lock and dismount.
I want to prevent udiskie from considering this drive as an external HDD because I run
udiskie-umount --all && systemctl poweroff --ignore-inhibitors before shutting down the system and it exits with code 1 (thus preventing system shutdown). I have already added a /etc/crypttab entry and a /etc/fstab entry which successfully automounts the drive and decrypts it on boot.
I’m not too experienced with Linux (I’m using Arch). Please let me know how to diagnose this issue. Thanks.
- Created 5 years ago
- Comments:12 (7 by maintainers)
Top GitHub Comments
You need both setting because partition (/dev/sdd1) and partition table (/dev/sdd) are separate block devices. As for why you need them at all: udiskie uses the information (HintSystem) passed along from udisks which apparently did not do a good job at guessing in your particular case. Things might improve, when I add support for LVM devices probably by the beginning of next year.
Oh, very sorry! I didn’t notice you had responded and now the pastebin is expired. Can you repost? (it’s best to attach directly here, so it doesn’t expire)