about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_mount10
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fc6b18392..bdf29a700 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-10  Clint Adams  <clint@zsh.org>
+
+	* 16005: Completion/Unix/Command/_mount:
+	check /etc/filesystems under Linux.
+
 2001-10-10  Oliver Kiddle  <opk@zsh.org>
 
 	* 16xxx: acconfig.h, zshconfig.ac, Etc/MACHINES,
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index a5a88f912..f74488267 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -559,11 +559,13 @@ if [[ "$service" = mount ]]; then
       ':dev or dir:->devordir'
       ':mount point:_files -/'
     )
-    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 reiserfs )
+    typeset -aU fss
+    fss=( adfs bfs cramfs ext2 ext3 hfs hpfs iso9660 minix ntfs qnx4
+          reiserfs romfs swap udf ufs vxfs xfs xiafs )
     [[ -r /proc/filesystems ]] &&
-        fss=( ${$(</proc/filesystems)#nodev} )
+        fss=( $fss ${$(</proc/filesystems)#nodev} )
+    [[ -r /etc/filesystems ]] &&
+        fss=( $fss ${$(</etc/filesystems)#nodev} )
     ;;
   osf*)
     args=( -s