From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7969 invoked from network); 10 Oct 2001 13:46:25 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Oct 2001 13:46:25 -0000 Received: (qmail 29564 invoked by alias); 10 Oct 2001 13:46:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16004 Received: (qmail 29548 invoked from network); 10 Oct 2001 13:46:19 -0000 To: Borsenkow Andrej Cc: zsh-workers@sunsite.auc.dk Subject: Re: mount and linux References: <001c01c1516a$72a84c60$21c9ca95@mow.siemens.ru> From: Chmouel Boudjnah Date: 10 Oct 2001 15:45:05 +0200 In-Reply-To: <001c01c1516a$72a84c60$21c9ca95@mow.siemens.ru> (Borsenkow Andrej's message of "Wed, 10 Oct 2001 13:03:37 +0400") Message-ID: User-Agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Borsenkow Andrej writes: > > This is wrong in case of fully modular system (75% of users) since it > > only register to /proc/filesystems at module insertion. > > > > The best way would be to combine that with /etc/filesystems.. > > On up-to-date cooker: > > [root@cooker root]# cat /etc/filesystems > ext2 > nodev proc > nodev devpts > iso9660 > reiserfs > vfat > > not overly usesful (ext3, xfs, supermount, jfs, nfs ...). yes but that the only file that give you the ability to force the auto type, or at least make it that by default is purposing (from util-linux/mount/mount_guess_fstype.c) : 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....