From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20797 invoked from network); 10 Oct 2001 19:26:32 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Oct 2001 19:26:32 -0000 Received: (qmail 18702 invoked by alias); 10 Oct 2001 19:26:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16005 Received: (qmail 18690 invoked from network); 10 Oct 2001 19:26:26 -0000 Date: Wed, 10 Oct 2001 15:25:43 -0400 From: Clint Adams To: Chmouel Boudjnah Cc: Borsenkow Andrej , zsh-workers@sunsite.auc.dk Subject: Re: mount and linux Message-ID: <20011010152543.A31541@dman.com> References: <001c01c1516a$72a84c60$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from chmouel@mandrakesoft.com on Wed, Oct 10, 2001 at 03:45:05PM +0200 > static char > *magic_known[] = { > "adfs", "bfs", "cramfs", "ext", "ext2", "ext3", > "hfs", "hpfs", "iso9660", "minix", "ntfs", > "qnx4", "reiserfs", "romfs", "swap", "udf", "ufs", > "vxfs", "xfs", "xiafs" > }; > > since they are auto detected by magic number.... It might be nicer to use the original array, /proc/filesystems, and /etc/filesystems all with different tags. Index: Completion/Unix/Command/_mount =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_mount,v retrieving revision 1.10 diff -u -r1.10 _mount --- Completion/Unix/Command/_mount 2001/10/08 15:08:02 1.10 +++ Completion/Unix/Command/_mount 2001/10/10 19:23:23 @@ -559,11 +559,13 @@ ':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=( ${$(