From: Clint Adams <clint@zsh.org>
To: Chmouel Boudjnah <chmouel@mandrakesoft.com>
Cc: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>,
zsh-workers@sunsite.auc.dk
Subject: Re: mount and linux
Date: Wed, 10 Oct 2001 15:25:43 -0400 [thread overview]
Message-ID: <20011010152543.A31541@dman.com> (raw)
In-Reply-To: <m3669nip7i.fsf@giants.mandrakesoft.com>; 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=( ${$(</proc/filesystems)#nodev} )
+ fss=( $fss ${$(</proc/filesystems)#nodev} )
+ [[ -r /etc/filesystems ]] &&
+ fss=( $fss ${$(</etc/filesystems)#nodev} )
;;
osf*)
args=( -s
prev parent reply other threads:[~2001-10-10 19:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-08 15:43 Chmouel Boudjnah
2001-10-10 9:03 ` Borsenkow Andrej
2001-10-10 10:13 ` Oliver Kiddle
2001-10-11 0:41 ` Clint Adams
2001-10-11 5:02 ` Borsenkow Andrej
2001-10-10 13:45 ` Chmouel Boudjnah
2001-10-10 19:25 ` Clint Adams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011010152543.A31541@dman.com \
--to=clint@zsh.org \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=chmouel@mandrakesoft.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).