[kde] [Bug 376498] New: "Safe remove" should not be available for external drives containing OS install and/or /home folder

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Feb 14 23:16:38 GMT 2017


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

            Bug ID: 376498
           Summary: "Safe remove" should not be available for external
                    drives containing OS install and/or /home folder
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: woroof at gmail.com
  Target Milestone: ---

Reproducible: Always

Steps to reproduce:
1. Install any GNU/Linux distro and Plasma on external storage media, such as
USB flash drive or USB HDD/SSD (or regular one in external USB enclosure).
2. Boot into it.
3. Open the Device Notifier icon in system tray and check volumes available for
"safe unmount".
4. Open the default file manager (Dolphin) and right click the drive

Expected results: "safe remove" feature should not be available for volumes
containing / and/or /home folders and they should not be displayed in Device
Notifier on step #3. They cannot be safely unmounted anyway, so there's no
reason to show these volumes as safely removable.

Actual results: "safe remove" is available. When clicked, it complains that the
volume cannot be unmounted because it's still used by something. Due to this,
for example, Device Notifier icon wastes space on the screen if there are no
other removable devices connected.

I have up-to-date Arch Linux with KDE Plasma installed on SSD inside external
USB enclosure. If this matters, the drive is Samsung 840 Pro and the enclosure
is one of those based on ASM1351 chipset. The drive in enclosure is handled by
uas driver in the system. cat /sys/block/sdb/removable returns 0 (sdb is the
subject drive). The volumes, which are displayed in the tray are mounted at /
and /home.

The system is booted in UEFI mode, and what's interesting is that the ESP (EFI
System Partition), which is mounted at /boot, is not shown in system tray. I
switched to UEFI boot only recently, and noticed, that before the switch, the
/boot was shown in system tray among the other volumes. Not sure, however, if
this info is helpful.

None of these volumes are shown in system tray when the drive is connected to
the motherboard using regular internal SATA interface.

Also reproducible on freshly updated Kubuntu 16.10.
I was not able to reproduce the issue on latest and freshly updated Ubuntu
(Unity), Fedora Workstation (Gnome), and Arch with Gnome. They all don't show
the external drive in this case as safely removable, but show any other USB
storage devices as such.

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


More information about the Unassigned-bugs mailing list