From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 909 invoked from network); 11 Oct 2001 07:57:13 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Oct 2001 07:57:13 -0000 Received: (qmail 4053 invoked by alias); 11 Oct 2001 07:43:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16009 Received: (qmail 1751 invoked from network); 11 Oct 2001 07:39:15 -0000 From: Borsenkow Andrej To: "'Oliver Kiddle'" , zsh-workers@sunsite.dk Subject: RE: mount and linux Date: Thu, 11 Oct 2001 09:02:51 +0400 Message-ID: <000001c15211$fad21c40$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <3BC41F42.4AE2219A@yahoo.co.uk> > > > > > 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 ...). > > On slightly out-of-date Debian /etc/filesystems doesn't exist at all. It > isn't Mandrake specific is it? What is the purpose of it and where does > it come from? Certainly it is a fair point about /proc/filesystems > limitations though so if /etc/filesystems allows us to correctly add > more supported filesystems, it should be used. > man mount: The type iso9660 is the default. If no -t option is given, or if the auto type is specified, the superblock is probed for the filesystem type (minix, ext, ext2, ext3, xiafs, iso9660, reiserfs, romfs, ufs, ntfs, qnx4, bfs, xfs, cramfs, hfs, hpfs, adfs, vxfs are supported). If this probe fails, mount will try to read the file /etc/filesystems, or, if that does not exist, /proc/filesystems. All of the filesystem types listed there will be tried, except for those that are labeled "nodev" (e.g., devpts, proc and nfs). [root@cooker root]# rpm -q mount mount-2.11j-2mdk of course, man page for mount is in different RPM so it may apply to totally different command altogether :-) -andrej