Re: Use of directories to hold root?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Cannon
Date: Sunday, August 12, 2007 - 12:39 pm

On Saturday 11 August 2007, Jan Engelhardt wrote:
Thank you for the prompt replies. I have looked int pivot_root and
with my limited knowledge it looks like I could do this in the linuxrc 
during start up. I believe the new kernel 2.6.21 is independent of the
root tree, so right after it mounts the old root /dev/sda3, it then can
pivot-root to /ker2621. 
This can quickly be tested in the lab. I already use chroot for tests. Was
unaware of pivot_root.

I am not sure I understand initramfs with MS_MOVE concept. I will look into
it. Any pointers for documentation? 

Again, thank you for the help.

Mark Cannon


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Use of directories to hold root?, Mark Cannon, (Fri Aug 10, 2:24 pm)
Re: Use of directories to hold root?, Jan Engelhardt, (Fri Aug 10, 2:33 pm)
Re: Use of directories to hold root?, H. Peter Anvin, (Fri Aug 10, 5:08 pm)
Re: Use of directories to hold root?, Jan Engelhardt, (Sat Aug 11, 8:55 am)
Re: Use of directories to hold root?, Al Viro, (Sat Aug 11, 9:07 am)
Re: Use of directories to hold root?, Mark Cannon, (Sun Aug 12, 12:39 pm)
Re: Use of directories to hold root?, Jan Engelhardt, (Sun Aug 12, 12:49 pm)
Re: Use of directories to hold root?, Al Viro, (Sun Aug 12, 1:23 pm)
Re: Use of directories to hold root?, Jan Engelhardt, (Sun Aug 12, 1:55 pm)
Re: Use of directories to hold root?, H. Peter Anvin, (Sun Aug 12, 1:57 pm)