about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mount
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-10-05 01:31:21 +0000
committerClint Adams <clint@users.sourceforge.net>2001-10-05 01:31:21 +0000
commitaa88d24f9e910afe63f0e4b784630caf47b2bb43 (patch)
tree29e733edf7244e633e516c11c9a937804c8bac59 /Completion/Unix/Command/_mount
parent8ad08ab72bbd150dc9c5d7fa6d0a9f86caf9c633 (diff)
downloadzsh-aa88d24f9e910afe63f0e4b784630caf47b2bb43.tar.gz
zsh-aa88d24f9e910afe63f0e4b784630caf47b2bb43.tar.xz
zsh-aa88d24f9e910afe63f0e4b784630caf47b2bb43.zip
15939: complete xfs mount options (for Linux).
Diffstat (limited to 'Completion/Unix/Command/_mount')
-rw-r--r--Completion/Unix/Command/_mount22
1 files changed, 21 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index fcebc5e25..d92f56f20 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -370,6 +370,26 @@ if (( ! $+_fs_any )); then
       'ufstype[set ufs type]:ufs type:(old 44bsd sun sunx86 nextstep nextstep-cd openstep)'
       'onerror[set behaviour on error]:behaviour on error:(panic lock umount repair)'
     )
+    _fs_xfs=(
+      'biosize[specify preffer buffered I/O size]:base 2 logarithm:((13:8K 14:16K 15:32K 16:64K))
+      '(xdsm)dmapi[enable DMAPI event callouts]'
+      '(dmapi)xdsm[enable DMAPI event callouts]'
+      'logbufs[set number of in-memory log buffers]:(2 3 4 5 6 7 8)'
+      'logbsize[set size of each in-memory log buffer]:(16384 32768)'
+      'logdev[use external log device]:_files'
+      'rtdev[use external realtime device]:_files'
+      'noalign[do not align data allocations at stripe unit boundaries]'
+      'noatime[do not update atime on reads]'
+      'norecovery[do not run log recovery]'
+      'osyncisdsync[make O_SYNC behave as O_DSYNC]'
+      '(usrquota uqnoenforce)quota[enable user quotas]'
+      '(quota uqnoenforce)usrquota[enable user quotas]'
+      '(quota usrquota)uqnoenforce[enable user quotas without enforcement]'
+      '(gqnoenforce)grpquota[enable group quotas]'
+      '(grpquota)gqnoenforce[enable group quotas without enforcement]'
+      'sunit[specify stripe unit]:size:'
+      'swidth[specify stripe width]:size:'
+    )
     ;;
   freebsd*)
     _fs_any=(
@@ -485,7 +505,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 )
+          hfs ntfs qnx4 smbfs udf ext3 xfs )
     [[ -r /proc/filesystems ]] &&
         fss=( ${$(</proc/filesystems)#nodev} )
     ;;