Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 15:38:45 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-current@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: [RFC] mount can figure out fstype automatically
Message-ID:  <20060710223845.GA47557@dragon.NUXI.org>
In-Reply-To: <20060708161719.GB3871@crodrigues.org>
References:  <20060708152801.GA3671@crodrigues.org> <44AFD7DF.8090002@errno.com> <20060708161719.GB3871@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060710223845.GA47557>