Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261690AbUCBQLe (ORCPT ); Tue, 2 Mar 2004 11:11:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261700AbUCBQLd (ORCPT ); Tue, 2 Mar 2004 11:11:33 -0500 Received: from mail3-126.ewetel.de ([212.6.122.126]:40948 "EHLO mail3.ewetel.de") by vger.kernel.org with ESMTP id S261690AbUCBQLc (ORCPT ); Tue, 2 Mar 2004 11:11:32 -0500 To: David Bryson Cc: linux-kernel@vger.kernel.org Subject: Re: circular pivot_root, is this possible ? In-Reply-To: <1v7Zf-5EG-5@gated-at.bofh.it> References: <1v7Zf-5EG-5@gated-at.bofh.it> Date: Tue, 2 Mar 2004 17:11:26 +0100 Message-Id: From: Pascal Schmidt X-CheckCompat: OK Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 21 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/