summaryrefslogtreecommitdiffstats
path: root/sys-utils/zramctl.8
diff options
context:
space:
mode:
authorKarel Zak2018-06-08 11:37:55 +0200
committerKarel Zak2018-06-08 11:42:48 +0200
commitddf287b4eccdf23e5364e20e9a461fa89ccddf48 (patch)
treec441b5b8cc5b00d3b99c3a3a64d067391340d3f4 /sys-utils/zramctl.8
parentlosetup: keep -f and <devname> mutually exclusive (diff)
downloadkernel-qcow2-util-linux-ddf287b4eccdf23e5364e20e9a461fa89ccddf48.tar.gz
kernel-qcow2-util-linux-ddf287b4eccdf23e5364e20e9a461fa89ccddf48.tar.xz
kernel-qcow2-util-linux-ddf287b4eccdf23e5364e20e9a461fa89ccddf48.zip
blkzone: fix whole device detection
Matias Bjørling wrote: The current detection code for chunk size assumes that the underlying device is a device that uses the minor device id as the partition id, and that the whole device has minor id 0. This is not true for example null_blk and nvme device drivers. Let's use sysfs_devno_to_wholedisk() to get whole-disk devno. Addresses: https://github.com/karelzak/util-linux/pull/646 Reported-by: Matias Bjørling matias.bjorling@wdc.com Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/zramctl.8')
0 files changed, 0 insertions, 0 deletions