summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ai
blob: 303d3cfbc1ed8c455210ab01d5190fa96e5d7f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ai,v 1.2 2005/10/23 15:36:48 rillig Exp $

--- Completion/Unix/Command/_mount.orig	2005-05-09 23:58:03.000000000 +0200
+++ Completion/Unix/Command/_mount	2005-05-09 23:59:50.000000000 +0200
@@ -471,7 +471,7 @@
       'swidth[specify stripe width]:size'
     )
     ;;
-  freebsd*)
+  freebsd*|dragonfly*)
     _fs_any=(
       '(sync)async[do all I/O asynchronously]'
       'current[use current options on already mounted file system]'
@@ -626,7 +626,7 @@
     deffs=hsfs
     typeops=-F
     ;;
-  freebsd*)
+  freebsd*|dragonfly*)
     args=( -s
       '(:)-a[mount all filesystems in fstab]'
       '-d[cause everything to be done except for the actual system call]'      
@@ -700,7 +700,7 @@
 	'*:dev or dir:->udevordir'
       )
     ;;
-    freebsd*)
+    freebsd*|dragonfly*)
       args=(
 	'(*)-a[unmount all mounted file systems]'
 	'-A[unmount all mounted file systems except the root]'
@@ -762,7 +762,7 @@
   fi
 
   case "$OSTYPE" in
-  freebsd*)
+  freebsd*|dragonfly*)
     while read mline; do 
       case $mline[(w)1] in
 	\#* )