Re: [RFC] mount can figure out fstype automatically

From: Scott Long <scottl_at_samsco.org>
Date: Mon, 10 Jul 2006 18:39:02 -0600
David O'Brien wrote:
> 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.
> 

This is an interesting idea.  However, it has the potential to
add a dependency on /usr to the early boot environment.  Maybe it
could be done via rtld?

Scott
Received on Mon Jul 10 2006 - 22:39:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC