lkml.org 
[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: circular pivot_root, is this possible ?
Date
From
On Tue, 02 Mar 2004 03:40:09 +0100, you wrote in linux.kernel:

> Say the system needs an upgrade.... I want to
>
> 1) pivot_root _back out_ of the tmpfs, onto the initrd again
> 2) obtain via network a new sys.img, write it to the flash
> 3) wipe tmpfs, and recopy the contents of the new sys.img into memory
> 4) pivot_root back into the tmpfs and start the higher level system
> again

How about using a second, small tmpfs for / under/over which the tmpfs
for the full system can be mounted and umounted at will?

--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.028 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site