6e103c7690fe blkzone: Add --force option 9cd88771ef45 fdisk: add --lock and LOCK_BLOCK_DEVICE 921ceaca31bd wipefs: add --lock and LOCK_BLOCK_DEVICE c3ef1268a0b4 sfdisk: add --lock and LOCK_BLOCK_DEVICE b8671fe76370 mkswap: add --lock and LOCK_BLOCK_DEVICE ec8f712157fe cfdisk: add --lock and LOCK_BLOCK_DEVICE f2229320a9f7 fdisk: add --noauto-pt 7f1f0584c24a nsenter: add support for the time namespace dd52c4fa011d lsirq: add -n option ee5a16025046 sfdisk: add --relocate command 99d78b2fefe3 fdisk: add --list-details 65e27d545cb5 sfdisk: add --disk-id to change disk UUID/ID 34fed3ff1740 blkdiscard: use O_EXCL, add --force Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- bash-completion/blkdiscard | 1 + bash-completion/blkzone | 2 +- bash-completion/cfdisk | 1 + bash-completion/fdisk | 3 +++ bash-completion/lsirq | 1 + bash-completion/mkswap | 2 +- bash-completion/nsenter | 1 + bash-completion/sfdisk | 3 +++ bash-completion/wipefs | 1 + 9 files changed, 13 insertions(+), 2 deletions(-) diff --git a/bash-completion/blkdiscard b/bash-completion/blkdiscard index f28e5d4c2..ab69e7fb1 100644 --- a/bash-completion/blkdiscard +++ b/bash-completion/blkdiscard @@ -16,6 +16,7 @@ _blkdiscard_module() case $cur in -*) OPTS=" + --force --offset --length --step diff --git a/bash-completion/blkzone b/bash-completion/blkzone index b64295348..cc9352730 100644 --- a/bash-completion/blkzone +++ b/bash-completion/blkzone @@ -25,7 +25,7 @@ _blkzone_module() -*) case $prev in 'report'|'reset') - OPTS="--verbose --offset --length --count" + OPTS="--verbose --offset --length --count --force" ;; *) OPTS="--help --version" diff --git a/bash-completion/cfdisk b/bash-completion/cfdisk index 180d987f8..4da6fb8b5 100644 --- a/bash-completion/cfdisk +++ b/bash-completion/cfdisk @@ -17,6 +17,7 @@ _cfdisk_module() -*) OPTS=" --color --zero + --lock --help --version" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) diff --git a/bash-completion/fdisk b/bash-completion/fdisk index a29b5f686..c42c329bd 100644 --- a/bash-completion/fdisk +++ b/bash-completion/fdisk @@ -75,6 +75,9 @@ _fdisk_module() --compatibility --color --list + --list-details + --noauto-pt + --lock --output --type --units diff --git a/bash-completion/lsirq b/bash-completion/lsirq index b644559e5..c706876f8 100644 --- a/bash-completion/lsirq +++ b/bash-completion/lsirq @@ -28,6 +28,7 @@ _lsirq_module() esac OPTS=" --json --pairs + --noheadings --output --sort --help diff --git a/bash-completion/mkswap b/bash-completion/mkswap index 3fc5ca574..97c9292e4 100644 --- a/bash-completion/mkswap +++ b/bash-completion/mkswap @@ -27,7 +27,7 @@ _mkswap_module() esac case $cur in -*) - OPTS="--check --force --pagesize --label --swapversion --uuid --version --help" + OPTS="--check --force --pagesize --lock --label --swapversion --uuid --version --help" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 ;; diff --git a/bash-completion/nsenter b/bash-completion/nsenter index ad56f06e4..8ee74612e 100644 --- a/bash-completion/nsenter +++ b/bash-completion/nsenter @@ -42,6 +42,7 @@ _nsenter_module() --pid= --cgroup= --user= + --time= --setuid --setgid --preserve-credentials diff --git a/bash-completion/sfdisk b/bash-completion/sfdisk index 8386c9fb5..8aa051626 100644 --- a/bash-completion/sfdisk +++ b/bash-completion/sfdisk @@ -58,10 +58,12 @@ _sfdisk_module() --show-geometry --list --list-free + --disk-id --reorder --show-size --list-types --verify + --relocate --delete --part-label --part-type @@ -73,6 +75,7 @@ _sfdisk_module() --move-data --force --color + --lock --partno --no-act --no-reread diff --git a/bash-completion/wipefs b/bash-completion/wipefs index 8c31fba4a..8e49a8bda 100644 --- a/bash-completion/wipefs +++ b/bash-completion/wipefs @@ -41,6 +41,7 @@ _wipefs_module() --force --noheadings --json + --lock --no-act --offset --output -- 2.27.0