On Sat, Nov 6, 2021 at 1:00 PM Onyeibo <onyeibo@xxxxxxxxxxxxxxxx> wrote: > > Greetings, > > My laptop enters a sleep state when I close the lid (monitor). That is > normal. > > However, if I mounted a LUKS-encrypted device connected via a USB port, > the session breaks when the machine wakes. Is that still normal? BASH > tells me that the mount point is engaged, whereas the device has been > relabelled (from /dev/sdc to /dev/sdd or something else). The "lsblk" > command indicates that the device is not mounted anymore. Of course, > that disrupts any process accessing the USB storage device when I close > the lid. > > The troubling part is that the mount point stays busy as though it is > mounted. Trying to umount is futile (umount: /mnt/usb: target is > busy.). How do I break out of this? I still ask, Is this the design, > or should I be reporting a bug? > > Regards > Onyeibo > > ---------- > uname -a: > > 5.15.0-0.rc6.47.fc36.x86_64 #1 SMP Mon Oct 18 17:11:29 UTC 2021 x86_64 > x86_64 x86_64 GNU/Linux It's a good question. I know that /dev device nodes are not reliable between boots. But between suspend (s2idle or S3) modes it should be? But that's a question for kernel developers, and I guess the place to start this is on the linux-usb@ list and see if /dev is supposed to be consistent through suspend-to-ram. -- Chris Murphy _______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure