]> git.ipfire.org Git - thirdparty/util-linux.git/commit
bash-completion: stop being clever when listing block devices
authorSami Kerola <kerolasa@iki.fi>
Sun, 26 Oct 2014 22:07:08 +0000 (22:07 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 31 Oct 2014 09:39:00 +0000 (10:39 +0100)
commit53154dae39cd16924c97754589ed5396a91946bd
tree2db36d7308a6b16abcf570fba3b435517c63b334
parentb35c37274c93745fd8d7a05d02a85fbde8110ab0
bash-completion: stop being clever when listing block devices

Various commands such as blkid, cfdisk, fdisk, delpart, and so on listed
only partitions and missed for example disks and volume groups.  The
right thing to do is to list all block devices in all for all commands
performing operations with them.  This might occasionally list unexpected
devices that I think is lesser bad than missing some.

Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764488
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
17 files changed:
bash-completion/addpart
bash-completion/blkdiscard
bash-completion/blkid
bash-completion/blockdev
bash-completion/cfdisk
bash-completion/delpart
bash-completion/fdisk
bash-completion/fsck
bash-completion/fsck.minix
bash-completion/lsblk
bash-completion/mkfs
bash-completion/mkfs.bfs
bash-completion/mkfs.minix
bash-completion/partx
bash-completion/resizepart
bash-completion/sfdisk
bash-completion/wipefs