diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-08-21 19:28:06 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-08-21 19:28:06 +0200 |
commit | 9cb191880de2767f1c0b2d6bd535e9f92b491b98 (patch) | |
tree | e6ed7c10d92f06cf6acc80336a04c68d3f481235 /lib/raw_format.py | |
parent | d9e45e5ae287b028c54f6c77e31c99ff84441977 (diff) | |
download | isodumper-9cb191880de2767f1c0b2d6bd535e9f92b491b98.tar isodumper-9cb191880de2767f1c0b2d6bd535e9f92b491b98.tar.gz isodumper-9cb191880de2767f1c0b2d6bd535e9f92b491b98.tar.bz2 isodumper-9cb191880de2767f1c0b2d6bd535e9f92b491b98.tar.xz isodumper-9cb191880de2767f1c0b2d6bd535e9f92b491b98.zip |
Better detection of the device (mga#18411), avoiding to write to a partition.
The device is obtained through Drive list of udisks2, but without
/dev/sdxx name. This is got trough Block list, but without direct
correspondance. Thus, we get the first block which has 'Drive' the
selected Drive, and suppress the trailing digits.
Clean unused code
Diffstat (limited to 'lib/raw_format.py')
0 files changed, 0 insertions, 0 deletions