> > A little problem:
> > that Live OS is configured with four squashfs compressed files, that are
> > mounted into aufs,
> > uloop only succeeds for the first file, at the second file the mount
> > command gets locked.
> > That is not really a problem because the goal is to cache only the main
> > and biggest file, and the live-initramfs code is modified to do that.
>
> That is strange.
> How did you mount the second one?
> Will you show me your startup script?
>
yes , that is an schematic command sequence,
(from the bash debug)
if is needed the complete code of my own version of the live-initramfs package 
I can post it here, or in the debian-live list.

+ sysdev=/block/loop0
+ modprobe -qb uloop
+ tmpdir=/uloop-filesystem-lzma.squashfs
+ mkdir -p /uloop-filesystem-lzma.squashfs
+ mount -t tmpfs tmpfs /uloop-filesystem-lzma.squashfs
+ 
ulobdev -b /uloop-filesystem-lzma.squashfs/b -c 
/uloop-filesystem-lzma.squashfs/c /dev/loop0 
/live/image/JPLivePersonal/filesystem-lzma.squashfs
+ mkdir -p /filesystem-lzma.squashfs
+ mount -t squashfs -o ro,noatime /dev/loop0 /filesystem-lzma.squashfs
*** next mount is the same, with some different parameters, 
*** next is not from debug, i write that by hand
+ sysdev=/block/loop1
+ modprobe -qb uloop
+ tmpdir=/uloop-tws.squashfs
+ mkdir -p /uloop-tws.squashfs
+ mount -t tmpfs tmpfs /uloop-tws.squashfs
ulobdev -b /uloop-tws.squashfs/b -c /uloop-tws.squashfs/c /dev/loop1 
/live/image/JPLivePersonal/tws.squashfs
+ mkdir -p /tws.squashfs
+ mount -t squashfs -o ro,noatime /dev/loop1 /tws.squashfs
**** here the process is locked and do not continue,

Regards,

Jordi Pujol

-------------------------------------------------------------------------
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/

Reply via email to