[feature request]: "Refresh Devices" (like GParted)
Use case
For example, right now there's a bug in Ventoy, that makes it 50% risk that it fails to write the exFAT partition (see "unknown" file system in the gparted screenshot), but it always succeeds writing the fat16 partition. However, when this happens, the device is not refreshed in gnome-disk-utility.
Before installation of Ventoy
$ sudo fdisk -l /dev/sdc
[sudo] password for blues:
Sorry, try again.
[sudo] password for blues:
Disk /dev/sdc: 29.82 GiB, 32017047552 bytes, 62533296 sectors
Disk model: SSD 32GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 125A56B1-953F-B3B4-B296-9EF445FFB055
After failed installation of Ventoy
Ventoy (note that the program says that the installation is complete, but it actually fails to install the exFAT partition here):
gnome-disk:
$ sudo fdisk -l /dev/sdc
[sudo] password for blues:
Disk /dev/sdc: 29.82 GiB, 32017047552 bytes, 62533296 sectors
Disk model: SSD 32GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E526962D-67BF-DC64-FE6B-75EDABD8CED8
Device Start End Sectors Size Type
/dev/sdc1 2048 62467719 62465672 29.8G Microsoft basic data
/dev/sdc2 62467720 62533255 65536 32M Microsoft basic data
gnome-disk does not have a refresh button, and log out/log in from the desktop environment does not work. I had to reboot:
Feature request: "Refresh Devices"
GParted never automatically refresh the devices like gnome-disk. However, there's a menu entry that allows you to manually refresh them which is very useful.
Screenshots taken from GParted:
Note: If you refresh the device in gparted, they will show up in gnome-disk as well:
Info
- OS: Ubuntu MATE 22.04
$ apt show gnome-disk-utility
Package: gnome-disk-utility
Version: 42.0-1ubuntu1
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,069 kB
Depends: udisks2 (>= 2.7.6), dconf-gsettings-backend | gsettings-backend, libatk1.0-0 (>= 1.12.4), libc6 (>= 2.34), libcairo2 (>= 1.2.4), libcanberra-gtk3-0 (>= 0.25), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.43.2), libgtk-3-0 (>= 3.21.5), libhandy-1-0 (>= 1.5.0), liblzma5 (>= 5.1.1alpha+20120614), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.18.0), libpangocairo-1.0-0 (>= 1.14.0), libpwquality1 (>= 1.1.0), libsecret-1-0 (>= 0.7), libsystemd0 (>= 209), libudisks2-0 (>= 2.7.6)
Breaks: gnome-settings-daemon (<< 3.24)
Homepage: https://wiki.gnome.org/Apps/Disks
Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
Download-Size: 207 kB
APT-Manual-Installed: yes
APT-Sources: https://archive.trisquel.org/trisquel aramo/main amd64 Packages
Description: manage and configure disk drives and media
GNOME Disks is a tool to manage disk drives and media:
.
* Format and partition drives.
* Mount and unmount partitions.
* Query S.M.A.R.T. attributes.
.
It utilizes udisks.
``