> > <wishlist>
> > Not sure if this is a silly question or not, but could the kernel somehow
> > view a specific dir on a ext2fs disk as the freebsd root and boot a
> > freebsd system from it?  Also being able to access the stuff below the
> 
> I think there's a more general need to have a loader variable which
> you can set for "chrootdir", that being the subdirectory of the rootfs
> which becomes "/".  Such a feature would be good for a lot more than
> just hosting a FreeBSD system inside your existing Red Hat
> installation. :)  Booting multiple versions of FreeBSD without having
> to play partition games comes to mind..

What sort of fallback behaviour would you want in case of error here?  
Calling chroot() inside the kernel before invoking init would be fairly 
easy, and I think that's all you'd need to get DWIM behaviour.  (It might 
not be perfect, but it'd be pretty damn close.)

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to