kpmcore/src
Harald Sitter 984a4e9ace fix device RO check
Summary:
- mark deviceNode const
- copy it as deviceName
- mutate deviceName by removing `/dev/`
- use the new deviceName for the read-only check

this makes sure we emit the unmodified deviceNode (e.g. /dev/vda) rather
than the name (e.g. vda). unbreaks for example calamares which doesn't
know what to do with "vda".

CCBUG: 378607

Test Plan:
- without fix clamares fails to list devices
- with the fix calamares lists devices

Reviewers: stikonas

Reviewed By: stikonas

Differential Revision: https://phabricator.kde.org/D6414
2017-06-28 13:51:27 +02:00
..
backend Use lsblk's TYPE=disk when scanning for devices. 2017-06-22 03:11:58 +01:00
core Remove accidentally commited debug code. 2017-06-14 15:26:02 +02:00
fs Use qAsConst in ranged based for loops. 2017-06-04 22:26:24 +01:00
gui Fix a bug (that could result in data loss) where left handle of partition resize widget was not actually disabled. 2016-12-31 12:34:38 +02:00
jobs Fix online label support. 2017-04-09 17:49:55 +01:00
ops Use qAsConst in ranged based for loops. 2017-06-04 22:26:24 +01:00
plugins fix device RO check 2017-06-28 13:51:27 +02:00
util Improve used space detection to use fs utils when not mounted. 2017-01-05 17:27:17 +00:00
CMakeLists.txt Suspend Plasma removable device automounting. 2017-06-07 19:21:59 +02:00
Messages.sh Remove kcfg and kcfgc files. 2015-07-21 12:44:40 +02:00