Re: Alter root FS device after boot?

2006-04-26 Thread Ted Unangst
On 4/24/06, Brian A. Seklecki [EMAIL PROTECTED] wrote: Would it be hypothetical possible to change the device mounted as (/) after the system has booted (possibly during the bootstrapping phase)? This of course overriding the checks in src/sys/kern/sys_vfs* if you delete the checks, you could

Re: Alter root FS device after boot?

2006-04-26 Thread Brian A. Seklecki
you can't ever unount the first / mount after init starts, because that would mean revoking init's vnode. Yes after disabling the kernel checks I've tried to do this and it seems to cause a complete halt of the system. If only I could bypass the check that disallows a device from becoming

Re: Alter root FS device after boot?

2006-04-26 Thread Ted Unangst
On 4/26/06, Brian A. Seklecki [EMAIL PROTECTED] wrote: If only I could bypass the check that disallows a device from becoming mounted twice. When an RD kernel boots, /dev/rd0a is not explicitly mounted as /, instead root_device is. However, if I try to mount(2) /dev/rd0a under a fresh MFS /,

Alter root FS device after boot?

2006-04-24 Thread Brian A. Seklecki
All: Would it be hypothetical possible to change the device mounted as (/) after the system has booted (possibly during the bootstrapping phase)? This of course overriding the checks in src/sys/kern/sys_vfs* ~BAS

Re: Alter root FS device after boot?

2006-04-24 Thread Hannah Schroeter
Hi! On Mon, Apr 24, 2006 at 05:06:04PM -0400, Brian A. Seklecki wrote: All: Would it be hypothetical possible to change the device mounted as (/) after the system has booted (possibly during the bootstrapping phase)? This of course overriding the checks in src/sys/kern/sys_vfs* After root has