Skip to content

info-overview: Check if drive is both removable and media-removable

Checking if a given drive is removable is not enough, because eMMC drives are legitimately removable, and also because the DBus 'Removable' property is essentially a guess and should not be used alone.

This commit, then, only considers drives that are ejectable, removable and media-removable simultaneously when deciding which drives to skip.

(Based on an old Endless patch https://github.com/endlessm/gnome-control-center/pull/106 against gnome-control-center 3.24, manually refreshed.)

Closes #633 (closed)

Merge request reports

Loading