Summary: | Add mountpoint to default disk label | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-solid | Reporter: | Guo Yunhe <i> |
Component: | general | Assignee: | Lukáš Tinkl <lukas> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | a.samirh78, kdelibs-bugs, nate, till2.schaefer |
Priority: | NOR | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/solid/commit/e0f9d9769f666b4a0ab02a53eb5bb9fc53b611e5 | Version Fixed In: | 5.84 |
Sentry Crash Report: | |||
Attachments: | Disks, and one is mounted at / |
Description
Guo Yunhe
2019-08-14 08:52:58 UTC
Created attachment 122114 [details]
Disks, and one is mounted at /
The root volume uses a special icon so you can tell which one it is.
Still, it might be a good idea to make the default label include the mountpoint. So you would have: 40GB Hard Drive (/) 120GB Hard Drive (/home) 240GB Hard Drive (/data) ...etc A possibly relevant merge request was started @ https://invent.kde.org/frameworks/solid/-/merge_requests/41 FWIW, the most robust solution is adding partition labels using any partition manager (e.g. gparted), that works across OS's ...etc, because it's a property of the filesystem not specific to an OS. Git commit e0f9d9769f666b4a0ab02a53eb5bb9fc53b611e5 by David Faure, on behalf of Ahmad Samir. Committed on 19/06/2021 at 08:53. Pushed by dfaure into branch 'master'. UDisks backend: improve the description of volume and storage devices - Nowadays SSD's are pretty common, using "Hard Drive" doesn't seem correct, "Hard Disk Drive" v.s. "Solid State Drive". Instead use: "External Drive" and "Internal Drive", which should work for both cases - Add the block device name (sdX[Y]) to the description, this is useful for devices without labels; the same goes for a whole disk device, e.g. /dev/sdc, which can't have a label at all. One can easily differentiate between devices based on the device name, /dev/sda, /dev/sdc2, /dev/sdd ...etc, which are always unique An obvious use-case is the Places panel in Dolphin or KFileWidget, if you have two or more partitions without labels, you can't tell which is which easily with just the size. FIXED-IN: 5.84 M +13 -9 src/solid/devices/backends/udisks2/udisksdevice.cpp https://invent.kde.org/frameworks/solid/commit/e0f9d9769f666b4a0ab02a53eb5bb9fc53b611e5 I much appreciate this change! However, I would like to argue, that mount points are far less technical and informative. Although they are not always present, one can fall back to device names in this case or present booth information if present. possibly related report Bug 433950 (In reply to Till Schäfer from comment #6) > I much appreciate this change! > > However, I would like to argue, that mount points are far less technical and > informative. are more informative... Adding the mount point to the text label would make the entry take more space, since this a side panel, the text would either get elided or a horizontal scrollbar would appear. The mount point is used in the tooltip, so you still get that info. sounds reasonable for dolphin. thx for the explanation. One further question, does this commit influence other places than sidebar panels (e.g. the labels mentioned in Bug 433950)? Sorry, I don't know :) |