From owner-freebsd-current@FreeBSD.ORG Fri Jan 19 02:55:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E150916A415; Fri, 19 Jan 2007 02:55:23 +0000 (UTC) (envelope-from rodrigc@crodrigues.org) Received: from alnrmhc14.comcast.net (alnrmhc14.comcast.net [204.127.225.94]) by mx1.freebsd.org (Postfix) with ESMTP id AB68413C441; Fri, 19 Jan 2007 02:55:23 +0000 (UTC) (envelope-from rodrigc@crodrigues.org) Received: from c-66-31-35-94.hsd1.ma.comcast.net ([66.31.35.94]) by comcast.net (alnrmhc14) with ESMTP id <20070119025522b1400rmue9e>; Fri, 19 Jan 2007 02:55:22 +0000 Received: from c-66-31-35-94.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-66-31-35-94.hsd1.ma.comcast.net (8.13.8/8.13.8) with ESMTP id l0J2tLTl001935; Thu, 18 Jan 2007 21:55:21 -0500 (EST) (envelope-from rodrigc@c-66-31-35-94.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-66-31-35-94.hsd1.ma.comcast.net (8.13.8/8.13.8/Submit) id l0J2tL3X001934; Thu, 18 Jan 2007 21:55:21 -0500 (EST) (envelope-from rodrigc) Date: Thu, 18 Jan 2007 21:55:20 -0500 From: Craig Rodrigues To: Luigi Rizzo Message-ID: <20070119025520.GA1891@crodrigues.org> References: <20070118134936.GA7391@crodrigues.org> <20070118064912.A39777@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070118064912.A39777@xorpc.icir.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [RFC] mount(8) can figure out fstype X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 02:55:24 -0000 On Thu, Jan 18, 2007 at 06:49:12AM -0800, Luigi Rizzo wrote: > great feature. I probably agree that "mount -t auto" might > be a safer way to implement it, but other than that i'd > love to have it too. I understand the motivation for "mount -t auto"....I wanted to get away from hijacking the "-t" parameter with values other than an "fstype". Also, if someone implements the autofs file system again for FreeBSD, there could be confusion. My tack for dealing with POLA was to always start with UFS when iterating through the vfs.conflist sysctl. I thought that having it as the default behavior if "-t" is not specified would be nice, especially for people coming from Linux. When I moved from Linux to FreeBSD, I found it a bit weird that I needed to specify a "-t" parameter to mount my CD-ROM...and figuring out that it was -t cd9660, which is not the same as Linux was odd too. :) -- Craig Rodrigues rodrigc@crodrigues.org