1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00

15941: complete reiserfs mount options.

This commit is contained in:
Clint Adams 2001-10-05 01:45:41 +00:00
parent f7fa53ecaa
commit d13c8e8d66
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2001-10-05 Clint Adams <clint@zsh.org>
* 15941: Completion/Unix/Command/_mount:
complete reiserfs mount options.
* 15940: Completion/Unix/Command/_mount:
complete -o utf8 for mount -t vfat.

View file

@ -435,6 +435,17 @@ if (( ! $+_fs_any )); then
'sunit[specify stripe unit]:size:'
'swidth[specify stripe width]:size:'
)
_fs_reiserfs=(
'conv[mount 3.5 fs using 3.6 format for new objects]'
'hash[choose hash type]:hash function:(rupasov tea r5 detect)'
'(no_unhashed_relocation)hashed_relocation[tune the block allocator]'
'noborder[disable border allocator algorithm]'
'nolog[disable journalling]'
'notail[disable packing of files into the tree]'
'(hashed_relocation)no_unhashed_relocation[tune the block allocator]'
'replayonly[replay but do not mount]'
'resize[assume the device has this many blocks]:number of blocks:'
)
;;
freebsd*)
_fs_any=(
@ -550,7 +561,7 @@ if [[ "$service" = mount ]]; then
)
fss=( minix ext ext2 xiafs hpfs msdos umsdos vfat proc nfs iso9660
smbfs ncpfs affs ufs romfs sysv adfs autofs coda devpts efs
hfs ntfs qnx4 smbfs udf ext3 xfs )
hfs ntfs qnx4 smbfs udf ext3 xfs reiserfs )
[[ -r /proc/filesystems ]] &&
fss=( ${$(</proc/filesystems)#nodev} )
;;