>From liblinuxlive:

UNION=union
MEMORY=memory
MOUNTDIR=mnt
CHANGES=$MEMORY/changes
IMAGES=$MEMORY/images
INITRAMDISK=$MOUNTDIR/live

both $IMAGES and $CHANGES are inside $MEMORY, so the single move of
$MEMORY should suffice...

I will try base4 some time today. I dont know why the union becomes so
unstable with the current releases, it is very worry. Every release
before has worked so well, there must have been some rather LARGE
changes between base1 and base2+ for this to happen. I will try to
help as much as I can, although with base3 and tmpfs patch I cannot
even finish the rc.S script, and so it is very difficult to get logs.

On Mon, Feb 9, 2009 at 5:43 PM,  <sf...@users.sourceforge.net> wrote:
>
> "James .":
>> The problem is that I AM moving the mounts. I am moving the mounts
>> into the tmpfs union. To help the cause, I will post the init script
>> here, in its entirety. Note: this is script works perfectly with
>> aufs-base1, but does not with aufs-base3 (I did not try base2, do you
>> want me to try base2??):
>        :::
>> echolog "setup union directory (using aufs)"
>> mkdir -p $CHANGES
>> mkdir -p $IMAGES
>>
>> mount -t aufs -o nowarn_perm,noplink,udba=none,br:$CHANGES=rw aufs
>> $UNION || fatal "can't setup union (aufs)"
>>
>> union_insert_modules $UNION $DATA $IMAGES
>>
>> mkdir -p "$UNION/$INITRAMDISK/$MEMORY"
>> mount --move $MEMORY "$UNION/$INITRAMDISK/$MEMORY"
>>
>> mkdir -p "$UNION/$INITRAMDISK/$DATA"
>> mount --move $DEVICEMOUNT "$UNION/$INITRAMDISK/$DEVICEMOUNT"
>        :::
>
> Try moving $CHANGES (your first writable branch) too.
> But I am not sure this is the root cause of your problem, because I
> only know that your problem is just unstable...
>
>
> J. R. Okajima
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Reply via email to