Hi!

Well, after a few "echos" i noticed that there was an endless loop
caused by the invocation of the gtest function invoked by the cleanup
function.

So a workaround could be changing lines 108 and 115 by

if [ $? ] ; then echo "Failed to unmount ${LOOP}" ; fi

and

if [ $? ] ; then echo "Failed to remove ${DIRTOREMOVE}" ; fi


Nevertheless, i'm thinking about using some other software that isn't
supported by GNAP, so i'll probably start using catalyst. Where does
GNAP stores the spec files it uses for catalyst?


Thanks for your help!




2006/7/14, Marcelo Coelho <[EMAIL PROTECTED]>:
2006/7/14, Thierry Carrez <[EMAIL PROTECTED]>:
> Marcelo Coelho wrote:
>
> > I'm trying GNAP for the first time. Now i'm trying to create a disk
> > image to put into a pentium 200 to use it as a router and ADSL
> > gateway.
> >
> > For now, i tried to start the creation of the image, with
> > gnap_overlay -L newimagefile.img -S 14 -r hda1 -o my_overlay/
> >
> > but i had the following,
> >
> > [...]
> > Can it be a bug or is a mistake i'm doing?
>
> It can be a bug. The image file support comes from an external patch
> that was not so well tested... Maybe some missing loopback support in
> the kernel.
>
> You can also have a look at the gnap_overlay script and see what else
> could be failing. I suspect the mount is not checked for errors or
> something like that, unfortunately I have no time to check right now.
>
> As a workaround, you could try to mount your P200 hard disk into your
> workstation (as /dev/hdd or whatever) and use overlay to disk directly
> (rather than using an intermediary image file). This is way better tested ;)

Yeah, absolutely. I'm just trying to avoid the noise that the hd makes   : )
This weekend i won't time to do it, but next week i'll check that. If
there is a bug in the script i'll tell you guys.


Have a nice week-end!

--
[email protected] mailing list

Reply via email to