From owner-freebsd-current@FreeBSD.ORG Mon Jul 10 22:38:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1018F16A4E6; Mon, 10 Jul 2006 22:38:50 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 336E043D49; Mon, 10 Jul 2006 22:38:49 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.6/8.13.6) with ESMTP id k6AMcknx047607; Mon, 10 Jul 2006 15:38:46 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.6/8.13.1/Submit) id k6AMcjH9047606; Mon, 10 Jul 2006 15:38:45 -0700 (PDT) (envelope-from obrien) Date: Mon, 10 Jul 2006 15:38:45 -0700 From: "David O'Brien" To: Craig Rodrigues Message-ID: <20060710223845.GA47557@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Craig Rodrigues References: <20060708152801.GA3671@crodrigues.org> <44AFD7DF.8090002@errno.com> <20060708161719.GB3871@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060708161719.GB3871@crodrigues.org> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [RFC] mount can figure out fstype automatically X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org, freebsd-arch@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 22:38:50 -0000 On Sat, Jul 08, 2006 at 12:17:19PM -0400, Craig Rodrigues wrote: > I was thinking of doing something like that. You can basically > get the same info by doing something like: > file - < /dev/ad0s1e > /dev/stdin: Unix Fast File system (little-endian) > file - < /dev/ad0s4 > /dev/stdin: SGI XFS filesystem > > I leaned away from this approach in mount(8) because: > - I didn't want to tie mount(8) to file(1) Why not? We have libmagic for purposes like this. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon?