summaryrefslogtreecommitdiffstats
path: root/bash-completion/blockdev
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: fix typo in blockdev fileSami Kerola2018-04-061-1/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: stop being clever when listing block devicesSami Kerola2014-10-311-1/+1
| | | | | | | | | | | 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>
* Revert "blockdev: Remove the --setbsz (set blocksize) option which has never ↵Karel Zak2013-10-111-1/+6
| | | | | | | | | | | | | worked." This reverts commit b1555acc2f709ac4f3b1e6c686a11cadb7b04f72. It seems that the option is used by kernel guys to test kernel, so let's keep the option in the blockdev(8) although it's almost useless in userspace. All we need is to improve docs to make things more obvious to end users. Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: Remove the --setbsz (set blocksize) option which has never worked.Richard W.M. Jones2013-10-081-6/+1Star
| | | | | | | | | | | | | | | | | | | This option has never worked. If you try setting the block size on a block device, and then read it using --getbsz, you will see that the block size never changes. The reason for this is because the block size is specific to the current file descriptor opening the block device, so the change of block size only persists for as long as blockdev has the device open, and is lost once blockdev exits. Also the block size is not really used anywhere. Filesystems, for example, have their own idea of block size and ignore this setting completely. (Thanks Masayoshi Mizuma for diagnosing the problem) Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+44
Signed-off-by: Karel Zak <kzak@redhat.com>