Re: [RFC] mount can figure out fstype automatically
- From: Scott Long <scottl@xxxxxxxxxx>
- Date: Mon, 10 Jul 2006 19:23:29 -0600
Maxim Sobolev wrote:
Scott Long wrote:
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?
Well, we have dynamic /sbin now, so that it's only the matter of moving libmagic into /lib.
-Maxim
libmagic depends on libz. Let's not go down the path of populating
/lib with every convenience under the sun.
Scott
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: [RFC] mount can figure out fstype automatically
- From: Danny Braniss
- Re: [RFC] mount can figure out fstype automatically
- References:
- [RFC] mount can figure out fstype automatically
- From: Craig Rodrigues
- Re: [RFC] mount can figure out fstype automatically
- From: Sam Leffler
- Re: [RFC] mount can figure out fstype automatically
- From: Craig Rodrigues
- Re: [RFC] mount can figure out fstype automatically
- From: David O'Brien
- Re: [RFC] mount can figure out fstype automatically
- From: Scott Long
- Re: [RFC] mount can figure out fstype automatically
- From: Maxim Sobolev
- [RFC] mount can figure out fstype automatically
- Prev by Date: Re: [RFC] mount can figure out fstype automatically
- Next by Date: Re: [RFC] mount can figure out fstype automatically
- Previous by thread: Re: [RFC] mount can figure out fstype automatically
- Next by thread: Re: [RFC] mount can figure out fstype automatically
- Index(es):
Relevant Pages
|
|