mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 19:00:57 +02:00
update options in tune2fs completion through e2fsprogs 1.43.6
This commit is contained in:
parent
101fb8dbf8
commit
3fde9aedd4
2 changed files with 33 additions and 17 deletions
|
@ -1,5 +1,8 @@
|
||||||
2017-09-22 Oliver Kiddle <opk@zsh.org>
|
2017-09-22 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 41743: Completion/Linux/Command/_tune2fs: update options in
|
||||||
|
completion through e2fsprogs 1.43.6
|
||||||
|
|
||||||
* 41732: Completion/Unix/Command/_tmux: bring completion in
|
* 41732: Completion/Unix/Command/_tmux: bring completion in
|
||||||
line with tmux 2.5 - removing completion of mode tables
|
line with tmux 2.5 - removing completion of mode tables
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,36 @@
|
||||||
#compdef tune2fs
|
#compdef tune2fs
|
||||||
|
|
||||||
_arguments \
|
_arguments -s -S \
|
||||||
'-c[set max mounts between checks]:number of mounts' \
|
'-c+[set max mounts between checks]:number of mounts' \
|
||||||
'-C[set mount count]:number of mounts' \
|
'-C+[set mount count]:number of mounts' \
|
||||||
'-e[set error behavior]:error behavior:(continue remount-ro panic)' \
|
'-e+[set error behavior]:error behavior:(continue remount-ro panic)' \
|
||||||
|
'-E+[set extended options]: :_values -s , "extended option"
|
||||||
|
clearmmp
|
||||||
|
"mmp_update_interval\:interval (seconds)"
|
||||||
|
"stride\:stride size (blocks)"
|
||||||
|
"stripe_width\:stipe width (blocks)"
|
||||||
|
"hash_alg\:hash algorithm\:(legacy half_md4 tea)"
|
||||||
|
"mount_opts\:mount option"
|
||||||
|
"(^test_fs)test_fs"
|
||||||
|
"(test_fs)^test_fs"' \
|
||||||
'-f[force tune2fs to complete even in the face of errors]' \
|
'-f[force tune2fs to complete even in the face of errors]' \
|
||||||
'-g[set the group which can use reserved filesystem blocks]:group:_groups' \
|
'-g+[set the group which can use reserved filesystem blocks]:group:_groups' \
|
||||||
'-i[interval between checks]:duration' \
|
'-i+[interval between checks]:duration' \
|
||||||
|
'-I+[set inode size]:inode size' \
|
||||||
'-j[add an ext3 journal to the filesystem]' \
|
'-j[add an ext3 journal to the filesystem]' \
|
||||||
'-J[journal options]: :_values -s , option "size[specify journal size]\:size" "device[use external journal]\:block device\:_files"' \
|
'-J+[journal options]: :_values -s , option "size[specify journal size]\:size" "location\:location" "device[use external journal]\:block device\:_files"' \
|
||||||
'-l[list the contents of the filesystem superblock]' \
|
'-l[list the contents of the filesystem superblock]' \
|
||||||
'-L[set the volume label of the filesystem]:label' \
|
'-L+[set the volume label of the filesystem]:label' \
|
||||||
'-m[set the percentage of reserved filesystem blocks]:percentage' \
|
'-m+[set the percentage of reserved filesystem blocks]:percentage' \
|
||||||
'-M[set the last-mounted directory for the filesystem]:directory:_files -/' \
|
'-M+[set the last-mounted directory for the filesystem]:directory:_files -/' \
|
||||||
'-o[mount options]:options:_values -s , debug bsdgroups user_xattr acl uid16 journal_data journal_data_ordered journal_data_writeback' \
|
'-o+[mount options]:options:_values -s , debug bsdgroups user_xattr acl uid16 journal_data journal_data_ordered journal_data_writeback nobarrier block_validity discard nodelalloc' \
|
||||||
'-O[set or clear filesystem features]: :_values -s , feature dir_index filetype has_journal sparse_super' \
|
'-O+[set or clear filesystem features]: :_values -s , feature dir_index dir_nlink encrypt extentextent extra_isize filetype flex_bg has_journalhuge_file large_file metadata_csum mmp project quota read-only resize_inode sparse_super uninit_bg' \
|
||||||
'-r[set the number of reserved filesystem blocks]:number' \
|
'-p+[set MMP check interval]:interval (seconds) [5]' \
|
||||||
'-s[set sparse super feature]:state:((0\:off 1\:on))' \
|
'-r+[set the number of reserved filesystem blocks]:number' \
|
||||||
'-T[set time last checked]:time specifier' \
|
'-Q+[set quota feature on the superblock]: :_values -s , "quota option" usrquota grpquota prjquota' \
|
||||||
'-u[set user who can use reserved filesystem blocks]:user:_users' \
|
'-s+[set sparse super feature]:state:((0\:off 1\:on))' \
|
||||||
'-U[set filesystem UUID]:UUID or special:(clear random time)' \
|
'-T+[set time last checked]:time specifier (YYYYMMDD[HH[MM[SS]]])' \
|
||||||
|
'-u+[set user who can use reserved filesystem blocks]:user:_users' \
|
||||||
|
'-U+[set filesystem UUID]:UUID or special:(clear random time)' \
|
||||||
|
'-z+[save old contents of file system block to undo file]:undo file:_files' \
|
||||||
':device:_files'
|
':device:_files'
|
||||||
|
|
Loading…
Reference in a new issue