mount.linux: Add options completion for nfs.
This commit is contained in:
parent
9e04f3edc8
commit
4a76f5a166
@ -144,6 +144,20 @@ _mount()
|
|||||||
COMPREPLY+=( $(compgen -W 'iocharset= resize= {,no}integrity
|
COMPREPLY+=( $(compgen -W 'iocharset= resize= {,no}integrity
|
||||||
errors= {,no,usr,grp}quota' -- "$cur") )
|
errors= {,no,usr,grp}quota' -- "$cur") )
|
||||||
;;&
|
;;&
|
||||||
|
nfs|nfs4|auto)
|
||||||
|
COMPREPLY+=( $(compgen -W 'soft hard timeo= retrans= {r,w}size=
|
||||||
|
{,no}ac acreg{min,max}= acdir{min,max}= actimeo= bg fg
|
||||||
|
retry= sec= {,no}sharecache {,no}resvport lookupcache=
|
||||||
|
proto= port= {,no}intr {,no}cto {,nfs}vers= ' -- "$cur") )
|
||||||
|
;;&
|
||||||
|
nfs|auto)
|
||||||
|
COMPREPLY+=( $(compgen -W 'udp tcp rdma mount{port,proto,host}=
|
||||||
|
mountvers= namlen={,no}lock {,no}acl {,no}rdirplus
|
||||||
|
{,no}fsc' -- "$cur") )
|
||||||
|
;;&
|
||||||
|
nfs4|auto)
|
||||||
|
COMPREPLY+=( $(compgen -W 'clientaddr=' -- "$cur") )
|
||||||
|
;;&
|
||||||
ntfs-3g)
|
ntfs-3g)
|
||||||
COMPREPLY+=( $(compgen -W '{u,g}id= {u,f,d}mask= usermapping=
|
COMPREPLY+=( $(compgen -W '{u,g}id= {u,f,d}mask= usermapping=
|
||||||
permissions inherit locale= force {,no}recover
|
permissions inherit locale= force {,no}recover
|
||||||
|
Loading…
x
Reference in New Issue
Block a user