ALT Linux Bugzilla
– Attachment 1475 Details for
Bug 9501
Add pmount/pumount completion
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Completion/Unix/_pmount
_pmount (text/plain), 1.33 KB, created by
Sir Raorn
on 2006-05-02 13:53:39 MSD
(
hide
)
Description:
Completion/Unix/_pmount
Filename:
MIME Type:
Creator:
Sir Raorn
Created:
2006-05-02 13:53:39 MSD
Size:
1.33 KB
patch
obsolete
>#compdef pmount pumount > >local curcontext="$curcontext" ret=1 > >_udevordir(){ > local tmp dev_tmp mp_tmp > > tmp=( "${(@f)$(< /etc/mtab)}" ) > dev_tmp=( "${(@)${(@)tmp%% *}:#none}" ) > mp_tmp=( "${(@)${(@)tmp#* }%% *}" ) > > _alternative \ > 'devices:device:compadd -a dev_tmp' \ > 'directories:mount point:compadd -a mp_tmp' >} > >if [[ $words[1] = pmount ]]; then > _arguments -S \ > '(-h --help)'{-h,--help}'[show help]' \ > '--version[show version]' \ > '-r[force mount read-only]' \ > '-w[force mount read-write]' \ > '(-s --sync)'{-s,--sync}'[mount with the "sync" option]' \ > '--noatime[mount with the "noatime" option]' \ > '(-e --exec)'{-e,--exec}'[mount with the "exec" option]' \ > '-t[specify file system type]:file system type:_file_systems' \ > '-c[specify I/O character set]:charset'\ > '-u[specify umask]: :_guard "[0-7]#" "octal umask"' \ > '--passphrase[read passphrase from file instead of the terminal]:file:_files' \ > '(-d --debug)'{-d,--debug}'[enable debug output]' \ > ':device:_files -g "*(-%b)"' \ > ':label:'&& ret=0 >else > # Completion for pumount. > _arguments -S \ > '(-h --help)'{-h,--help}'[show help]' \ > '--version[show version]' \ > '(-l --lazy)'{-l,--lazy}'[lazy unmount]' \ > '(-d --debug)'{-d,--debug}'[enable debug output]' \ > '*:device or mountpoint:_udevordir' && ret=0 >fi > >return ret
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9501
: 1475