DragonFly bugs List (threaded) for 2010-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[issue1538] mountroot should probe file systems
Alex Hornung <ahornung@gmail.com> added the comment:
Doing this is easy enough, and we only support three FS as root anyways (?)
(hammer, ffs/ufs, cd9660). I'd suggest adding a method to vfsops called vfs_probe
that will probe a given device name just to see if the filesystem on it matches
the vfs.
We already have vfsconf_each() which could then be used in sys/kern/vfs_conf.c to
iterate through all available filesystems and call their respective vfs_probe()
method until one of them returns no error.
To minimize the impact this might have on the boot time this should only be done
if no fs is specified in the vfs.root.mountfrom.
Any thoughts?
Cheers,
Alex Hornung
----------
status: unread -> chatting
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1538>
_____________________________________________________
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]