[frameworks-solid] [Bug 467751] Unmounting certain SD cards can triggers an immediate remount when using "automount on attach" setting

Alberto Garcia bugzilla_noreply at kde.org
Wed Mar 29 13:20:50 BST 2023


https://bugs.kde.org/show_bug.cgi?id=467751

--- Comment #3 from Alberto Garcia <berto at igalia.com> ---
In case you want to give it a try with QEMU, here's a very simple test case:

1) Boot a VM with a virtual SD card reader, like this: -device sdhci-pci
-device sd-card,drive=mmc0 -drive if=none,file=card.qcow2,id=mmc0
2) Add a partition to the SD card, no need to format it (you can use GPT or
DOS/MBR, it doesn't matter).
3) Run `udevadm monitor` and in a different terminal run `eject /dev/mmcblk0`

This is enough to see the udev events I mentioned earlier.

The check that you describe seems fine (assuming that timeout is not too
small). Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list