summaryrefslogtreecommitdiffstats
path: root/bash-completion/fsck
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: Exclude /dev/fd from fsck findKevin Locke2017-10-301-1/+2
| | | | | | | | | | | When the bash-completion for fsck runs `find -L /dev/ -type b` it descends into /dev/fd after opening '.' as file descriptor 3. This causes find to search through /dev/fd/3/ which includes everything below the current directory, which can take a very long time. To avoid this, prune /dev/fd in the find expression. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* Fix: list all block device from /dev and all symbolic links to block devicesRichard Yann2016-10-041-1/+1
| | | | Before fix "fsck -y /d<tab>" will never show LVM VG from multipath or mapped devices
* bash-completion: remove unused variables [shellcheck]Boris Egorov2015-06-081-1/+1
| | | | | | Fix shellcheck SC2034 warnings. Signed-off-by: Boris Egorov <egorov@linux.com>
* bash-completion: stop being clever when listing block devicesSami Kerola2014-10-311-2/+1Star
| | | | | | | | | | | 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>
* bash-completion: Don't offer any more completions after help or version.Ville Skyttä2013-04-081-0/+3
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+36
Signed-off-by: Karel Zak <kzak@redhat.com>