Date: Mon, 14 Jul 2008 22:57:48 +0200 From: "Mateusz Guzik" <mjguzik@gmail.com> To: "Tapan Chaudhari" <tapan.list@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Can I change the device of the "/" mount point at boot time. Message-ID: <e7799ca20807141357qeda81f8kaf7e7e71effac207@mail.gmail.com> In-Reply-To: <482257ad0807141310h3381a97dif17290aed1133cfe@mail.gmail.com> References: <482257ad0807141106m679ec19frd853339637d27a2d@mail.gmail.com> <20080714184030.GA62288@eos.sc1.parodius.com> <482257ad0807141218l26cbb95aid91414a3c88a121c@mail.gmail.com> <20080714153653.59ecb307@bhuda.mired.org> <482257ad0807141310h3381a97dif17290aed1133cfe@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/7/14 Tapan Chaudhari <tapan.list@gmail.com>: > > Hi, > Thanks a lot Mike. But the problem is the device I am talking about is > not the physical device. I am writing a driver which will create a virtual > device and all the i/os done on this virtual device will be ultimately > redirected to the original device. Correct me if I am wrong, but I guess the > loader will try to mount my new device on '/' and then load the modules into > the kernel. Since my driver would not be loaded at that point in time, it > will fail to even mount '/'. Am I right? Or can our drivers get loaded > before loader mounts '/' ? Yes, take a look at /boot/loader.conf .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7799ca20807141357qeda81f8kaf7e7e71effac207>