Re: Can I change the device of the "/" mount point at boot time.

2008-07-17 Thread Daniel O'Connor
On Wed, 16 Jul 2008, Tapan Chaudhari wrote: > > My first question would be "Why do you want to do that?" > > I am planning to write a block level snapshot driver. OK. You might want to look at geom_journal I guess. > > I think you'd have a lower overhead and much less hassle writing a > > GEOM cl

Re: Can I change the device of the "/" mount point at boot time.

2008-07-17 Thread Pranav Peshwe
On Wed, Jul 16, 2008 at 1:01 PM, Tapan Chaudhari <[EMAIL PROTECTED]> wrote: > > I am planning to write a block level snapshot driver. > Hi Tapan, Did you check whether any other BSDs have done anything similar ? I'm not sure whether it would be directly helpful but, you might get s

Re: Can I change the device of the "/" mount point at boot time.

2008-07-16 Thread Tapan Chaudhari
On Tue, Jul 15, 2008 at 11:38 AM, Daniel O'Connor <[EMAIL PROTECTED]> wrote: > On Tue, 15 Jul 2008, Tapan Chaudhari wrote: > >Thanks Deniel for the reply. I am aware of the fact you mentioned > > and will keep in mind. > > Well what i am trying to achieve is a simple thing to write an > > inte

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Daniel O'Connor
On Tue, 15 Jul 2008, Tapan Chaudhari wrote: >Thanks Deniel for the reply. I am aware of the fact you mentioned > and will keep in mind. > Well what i am trying to achieve is a simple thing to write an > interception driver to catch all the i/os going to a particular > device, do some manipulati

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Tapan Chaudhari
Hey, Thanks Deniel for the reply. I am aware of the fact you mentioned and will keep in mind. Well what i am trying to achieve is a simple thing to write an interception driver to catch all the i/os going to a particular device, do some manipulations on it and than let it through to the original

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Daniel O'Connor
On Tue, 15 Jul 2008, Tapan Chaudhari wrote: > Thank You Mateusz and Mike. I guess I am clear with my doubt now. I > will also go through the man pages to go into depth of it. The critical thing is that the loader must read the kernel (and modules, config etc..) from a disk the BIOS knows about.

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Tapan Chaudhari
Thank You Mateusz and Mike. I guess I am clear with my doubt now. I will also go through the man pages to go into depth of it. Thanks, --Tapan. On Tue, Jul 15, 2008 at 2:27 AM, Mike Meyer <[EMAIL PROTECTED]> wrote: > On Tue, 15 Jul 2008 01:40:24 +0530 > "Tapan Chaudhari" <[EMAIL PROTECTED]> wro

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Mateusz Guzik
2008/7/14 Tapan Chaudhari <[EMAIL PROTECTED]>: > > 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

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Mike Meyer
On Tue, 15 Jul 2008 01:40:24 +0530 "Tapan Chaudhari" <[EMAIL PROTECTED]> wrote: > 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

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Tapan Chaudhari
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 th

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Mike Meyer
On Tue, 15 Jul 2008 00:48:42 +0530 "Tapan Chaudhari" <[EMAIL PROTECTED]> wrote: > This is not exactly what I wanted. I will try to elaborate myself. > I am creating my own device which will act as a new boot slice which must be > mounted as '/'. New device will process i/o calls and then redirect

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Tapan Chaudhari
This is not exactly what I wanted. I will try to elaborate myself. I am creating my own device which will act as a new boot slice which must be mounted as '/'. New device will process i/o calls and then redirect the i/o calls to original device of '/'. Now since I cannot unmount '/' and mount it ag

Re: Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Jeremy Chadwick
On Mon, Jul 14, 2008 at 11:36:52PM +0530, Tapan Chaudhari wrote: > Hi All, > I am new to FreeBSD and this mailing list as well. > What I want to achieve is change the device of my mount point '/'(or any > other mount point) after I reboot the machine. I have some knowledge about > initrd in Lin

Can I change the device of the "/" mount point at boot time.

2008-07-14 Thread Tapan Chaudhari
Hi All, I am new to FreeBSD and this mailing list as well. What I want to achieve is change the device of my mount point '/'(or any other mount point) after I reboot the machine. I have some knowledge about initrd in Linux in which I can change the device for '/' and than reboot the machine so