diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-01-27 14:26:07 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-01-27 14:27:50 +0100 |
commit | 7cd51d36c05a66555b07a7fa850b21686ded2e1a (patch) | |
tree | 39f136f82cc1dd6c63efc13e588f8f812fe6878c /rescue/bin/install_bootloader | |
parent | 28118f7127a2bef9d56a1ae618bcc1ed6b9e23c3 (diff) | |
download | drakx-7cd51d36c05a66555b07a7fa850b21686ded2e1a.tar drakx-7cd51d36c05a66555b07a7fa850b21686ded2e1a.tar.gz drakx-7cd51d36c05a66555b07a7fa850b21686ded2e1a.tar.bz2 drakx-7cd51d36c05a66555b07a7fa850b21686ded2e1a.tar.xz drakx-7cd51d36c05a66555b07a7fa850b21686ded2e1a.zip |
lsparts: fix reporting half sizes
The issue is that lsparts is relying on fs::proc_partitions::read_raw(),
which reads /proc/partition which reports size of devices in 1kb blocks
instead of expected 512b sectors elsewhere...
The size is adjusted by *2 in read() but lsparts only used the lower
level interface.
This bug was introduced in commit 20e553d8f0ead3d5de1fb61d1aa255dd35549cf2
Diffstat (limited to 'rescue/bin/install_bootloader')
0 files changed, 0 insertions, 0 deletions