Package: util-linux
Version: 2.25.1-3
Severity: normal

Hi.

The bash completions for many tools dealing with
blockdevices are kinda odd and should probably
all be checked.

Examples:
bklid, always completes e.g. "/dev/sda" to "dev/sda1"
even though it sould also show "/dev/sda" itself as an
alternative (since it could contain a filesystem, and
even if not, then blkid can handle partition tables
now as well).
Furhter it shouldn't compelte "/dev/" to e.g. "/dev/sd"
since there are many other dirs and block devices in /dev,
e.g. the whole /dev/disk/* stuff or /dev/mapper/*
or /dev/vg_* and so on.

lsblk works much better with respect to that.


cfdisk, fdisk, delpart all compelte "" to "/dev/sd"
again ignring other dirs and block devices in /dev,
e.g. the whole /dev/disk/* stuff or /dev/mapper/*
or /dev/vg_* and so on.
blkdiscard, fsck, wipefs and addpart ignore parts of
these.

addpart, strangely lists partitions as well



Cheers,
Chris.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to