Fred wrote:
> At 21:25 22/01/2008 -0600, Lonnie Abelbeck wrote:
>> The best way to to use unionfs, which is already installed on your  image.
> 
> So, should I set things up this way on the CF card:
> /dev/sdd1 as read-only for root
> /dev/sdd2 as genkd so AstLinux can save its configuration files between 
> reboots
> /dev/sdd3 as read-write unionfs so that /var/www is writable by PHP scripts

Fred,

Actually you can get by without creating a key disk.  You'll have to 
manually move some files, but if you're starting out now, you might as 
well try this.

/dev/sdd1 will be your runnix partition for images.  Images are stored 
there in the 'os' directory.  The image files get mounted as a loop 
device and either copied to a ram disk, or left in as loop back.

/dev/sdd2 could be unionfs (ext2 format).  This will be your writable 
area.  After you have booted with this partition as your asturw 
partition (per the documentation on the www.astlinux.org website), you 
will need to manually copy the files from /stat/ to the appropriate 
place (I'm going to modify genunion to do this for you, but haven't done 
it yet).  Look at the genkd script to see what files are copied from where.

> Of can I mix the last two, and just keep two partitions?
> 
> BTW, the trunk fails compiling vim, so have to use Nano.

vim is an optional package.  Busybox includes a version of vi that works 
just fine.  You'll find that many of the standard binaries are available 
through busybox (which is why several are not selected by default).


-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to