From owner-freebsd-arch@FreeBSD.ORG Sat Jul 8 22:32:09 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFDC16A4DA; Sat, 8 Jul 2006 22:32:09 +0000 (UTC) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6137C43D45; Sat, 8 Jul 2006 22:32:09 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (jn@ns1 [69.55.238.237]) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k68MW7dd009209; Sat, 8 Jul 2006 15:32:07 -0700 (PDT) (envelope-from john@jnielsen.net) Received: (from www@localhost) by ns1.jnielsen.net (8.12.9p2/8.12.9/Submit) id k68MW7Lm009208; Sat, 8 Jul 2006 18:32:07 -0400 (EDT) (envelope-from john@jnielsen.net) X-Authentication-Warning: ns1.jnielsen.net: www set sender to john@jnielsen.net using -f Received: from h35.242.140.67.ip.alltel.net (h35.242.140.67.ip.alltel.net [67.140.242.35]) by newwebmail.jnielsen.net (Horde MIME library) with HTTP; Sat, 08 Jul 2006 18:32:07 -0400 Message-ID: <20060708183207.fp6bvcl40k0wow4w@newwebmail.jnielsen.net> Date: Sat, 08 Jul 2006 18:32:07 -0400 From: John Nielsen To: Craig Rodrigues References: <20060708152801.GA3671@crodrigues.org> <86ac7krtu1.fsf@xps.des.no> In-Reply-To: <86ac7krtu1.fsf@xps.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-4.9 X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on ns1.jnielsen.net X-Virus-Status: Clean Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [RFC] mount can figure out fstype automatically X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 22:32:09 -0000 Quoting Dag-Erling Sm=F8rgrav : > Craig Rodrigues writes: >> I've come up with a patch that does this, by interpreting >> an fstype of "" as: >> - starting with "ufs", iterate over all the local filesystem types >> that we know about, and try to mount the device > > What about cases where there may be several matching file systems? > For instance, a clean ext3 file system is also a valid ext2 file > system (and vice versa). I've also seen cases where a partition is formatted FAT32, then newfs'ed [ufs] under FreeBSD, but still mount-able as FAT32. (Windows will in fact automount such partitions even if the partition type is 165. grr..) JN