Summary: | Device notifier should have an option to only unmount, not detach as well | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | sorath <torokhov_s_a> |
Component: | Disks & Devices | Assignee: | David Edmundson <kde> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | afiestas, alpeterson, antdev66, arran4, benoit.gouhier, bugseforuns, cfeck, cyberbeat, johu, kasnolajr, lukas, marco.morandini, MolbOrg, mpeter.68m0y, msdobrescu, nate, pb.g, rack, rohan, stephane, stuartksmith, stupor_scurvy343, thomasschmidt45, valerio.vanni, voggur, wilderkde, ziegleka |
Priority: | HI | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=405979 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
sorath
2012-02-12 15:27:45 UTC
Is any additional information need to report? Note: 1. If I insert usb flash to usb port and mount it from konsole (mount /mnt/usb) then "device notifier" shows usb device as mounted (/var/log/messages warning me only about utf8 on FAT filesystems) 2. If I ummount usb flash via konsole - "device notifier" shows usb device as unmounted (no warnings or record in var/log/messages). 3. If I mount usb flash via "device notifier" then as in 1st step - /var/log/messages warning me only about utf8 on FAT filesystems. 4. If I click "unmount" in the "device notifier" var/log/messages shows error: .... kernel: [19822.434441] sdd: detected capacity change from 2079850496 to 0 and after that usb isn't shown in "fdisk -l", but is visible by lsusb. Trying to mount via konsole after that shows error: mount: special device /dev/sdd1 does not exist I can confirm this on ubuntu 11.10, running latest ppa kde 4.8.2 (I also need it to say what device it is, so I will file an extra feature request...) This is due to a behavior change in the unmount routine, and I agree that it should be reconsidered. Lukas, we should really discuss about the “always eject” policy of the udisks backend. I agree, these 2 cases are mutually exclusive, see https://bugzilla.redhat.com/show_bug.cgi?id=852196 for the opposite case; in short, some external USB drives need to be explicitely ejected (and also) detached when you click on the "Safely remove/eject" button in the notifier. *** Bug 273095 has been marked as a duplicate of this bug. *** So, can we identify these cases or there is nothing to do? This should be fixed in 4.10.2 No feedback, Lukáš says it is fixed... so marking it as resolved :p If we are mistaken and this bug is indeed not fixed in 4.10.2 and greater please, reopen the bug ! I find this issue (after the umount, device disappear from notifier and I have to phisically unplug and replug) in Debian Wheezy In Squeeze the reattach from notifier worked perfectly. How can I find if version number is greater or equal of 4.10.2? I can look at the kde version, but where I find the version of this component? It still happens in kde 4.12.4 (I've tried Debian Jessie). After the device is unmounted, it cannot be reattached. Reopening based on comment #11. *** This bug has been confirmed by popular vote. *** KDE 4.14.1 problem still persists... Please add options ("Safely Remove and Eject" and "Unmount") to Device Notifier's "Eject" button. Thank you The problem here is that some devices (like external hard drives) advertise the option to power down the drive completely after unmounting it, thus we do that. OTOH, I agree that the correct way to fix this double-sided problem would be to have 2 distinct buttons in the Device Notifier, 1 to unmount and the other one to eject/powerdown. What do you think? Hi, I suggest this: 1. default configurable action - Safely Remove vs. Unmount 2. left mouse click on the button invokes the default action 3. right mouse click on the button displays the popup menu with two options - Safely Remove and Unmount This proposal allows to preserve the current clean and simple design of Device Notifier. *** This bug has been marked as a duplicate of bug 402660 *** *** Bug 334429 has been marked as a duplicate of this bug. *** *** Bug 404946 has been marked as a duplicate of this bug. *** *** Bug 405617 has been marked as a duplicate of this bug. *** *** Bug 406362 has been marked as a duplicate of this bug. *** *** Bug 402660 has been marked as a duplicate of this bug. *** Is this so difficult to fix? Offering two options would be fine for me. But even detached/energy-save-mode, wouldn't it be possible to remount again? My use case: I have a fast hard-drive connected all the time, but it makes much noise, when in action (and sometimes the harddisk (no ssd) starts to rotate without any known interaction..?), so I like to make it quiet by unmounting it, and remount it again, when I need it. But the replugging everytime is annoying and seems to harm for the long run. *** Bug 495548 has been marked as a duplicate of this bug. *** *** Bug 494850 has been marked as a duplicate of this bug. *** |