[Tutor] Run a few Python commands from a temporary filesystem when the rootfs is halted

Frederick Grose fgrose at gmail.com
Sat Apr 23 02:14:03 CEST 2011


On Fri, Apr 22, 2011 at 7:59 PM, Steve Willoughby <steve at alchemy.com> wrote:

> On 22-Apr-11 16:54, Frederick Grose wrote:
>
>> With Bash, when one needs to halt the current root filesystem, to pivot
>> to a new filesystem, one can copy some of the command files and their
>> dependencies to a temporary file system and execute from that code base.
>>
>
> I'm not sure those words mean what you think they mean, or I'm missing what
> you're trying to do here.  halting the root filesystem? pivot? code base?
>
> You're not trying to talk about jail/chroot, perhaps?
>
> --
> Steve Willoughby / steve at alchemy.com
>

The particulars are that I've rebuilt a Fedora LiveOS filesystem image from
a currently running instance (incorporating the filesystem changes in the
device-mapper overlay into a new base filesystem image file).

I'd like to halt the active rootfs, switch to its mirror, copy over the
halted filesystem image file with the refreshed version, and then switch
back.

        --Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110422/8d7505f9/attachment-0001.html>


More information about the Tutor mailing list