From mboxrd@z Thu Jan 1 00:00:00 1970 From: yiyu.jgl@gmail.com (yy) Date: Sun, 27 Nov 2011 14:39:57 +0100 Subject: [9fans] 9vx instability In-Reply-To: <4ECA333A.2010600@gmail.com> References: <4ECA333A.2010600@gmail.com> Message-ID: Topicbox-Message-UUID: 47f8164c-ead7-11e9-9d60-3106f5b1d025 2011/11/21 Jens Staal : > What I would like to know is if you can boot a plan9 system from iso via 9vx > as "persistent" partition whereas changes are saved to another directory (so > basically setting up a union mount between the iso and a directory) - > alternatively specifying an alternative path for $home using 9vx booting > from an iso. > I've written a small script to help with this. From the comments: # Usage: 9vxi [9vx options] # If set, $localroot is used as root, # and $home as the home directory. # If localroot is not set. search for it: # first in the cwd, then at $HOME. # initrc is ignored. Other options are # just passed to 9vx. # # If found, $home/lib/profile is used, # else a default profile is supplied. If you have a plan9.iso file in your $HOME directory, running 9vxi without arguments should be enough to boot from that iso file with an usable environment: $HOME is used as your home directory, ramdisk provides a writable /tmp and the plumber uses glenda's rules. If you need something fancier (for example, binding a writable source tree from a sysfromiso repository), create a lib/profile file. -- - yiyus || JGL . -------------- next part -------------- A non-text attachment was scrubbed... Name: 9vxi Type: application/octet-stream Size: 1106 bytes Desc: not available URL: