The time now is Mon 20 May 2013, 01:41
All times are UTC - 4 |
| Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Sun 01 Jun 2008, 13:58 Post subject:
|
|
Hi dinky; With any luck MU will have the time to modify his great app.
Last night I simplified the identifing of image file types & their mounting.
Today I'll be testing that work, I'll try a few SFS file builds & check them.
If all looks good I'll repost "mksfs" here in the Software forum for testing.
|
|
Back to top
|
|
 |
dinky

Joined: 19 Jan 2008 Posts: 699
|
Posted: Sun 01 Jun 2008, 18:26 Post subject:
|
|
Look forward to it matey, will be happy to test things. Cheers.
~dinky
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Sun 01 Jun 2008, 23:31 Post subject:
|
|
After much work...
It seems the top mount directory being saved to the SFS file is a real mksquashfs problem.
I looked at the docs & there's no way to control it to keep from doing it...
Explanation:
If there's just one dir., then it's contense is put in the SFS file.
If there's several dirs., then the selected dirs. & their contenses are put in the SFS file.
Some times this is exactly what you want, like what I was doing, but sometimes it's not.
What this means for mounted iso, sfs. ext2, & ext3 files is the last mount point dir. is included.
Like this mount point for an SFS file: /mnt/sfs, so /sfs is stored in the SFS file as top dir.
Sadly... The only option left is to do one source (dir. or file), & then append the next, etc.
This way all the sources will have their contenses stored in the SFS file.
I didn't have any luck appending to a SFS file before but I'll try it again, maybe this'll work.
ADDENDUM:
Success at appending each dir & file to the SFS file, just the contenses were stored.
We need a way to control this, sometimes you want the dirs. stored & sometimes not.
All the mounted files definitely need their contenses stored, but dirs. need it both ways.
To get the top dir. stored, all I can think of is to do an empty dir. with the source one.
Several sources store the top dirs., & just reuse the same empty /0 dir. over & over.
Using an empty dummy dir. to force storing of the top dir. works, but...
Each time it's used a number is appended to it, like this: /0, /0_1, /0_2, etc.
The same thing happens to all dirs. stored several times, like: /bin, /bin_1, etc.
This seems acceptable to me to be able to control the building of SFS files.
Otherwise, copying files into a ext2-3 image file or partition is the only other way.
Again... If anyone else has any info or ideas to offer on this, speak up!
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Mon 02 Jun 2008, 05:02 Post subject:
|
|
Got it working (I think), posting it in Software forum.
MU; I'll send the bits & pieces of code if you want, or you can DnLd & pick it apart.
Let me know what you want & what you think... Terry
|
|
Back to top
|
|
 |
dinky

Joined: 19 Jan 2008 Posts: 699
|
Posted: Mon 02 Jun 2008, 20:41 Post subject:
|
|
Hi Sunburnt, can I get a link to your post? I can't find it. I don't understand much of what you wrote, but am eager to try it. I'm off to Sydney for the next week, and will hopefully get a chance to try it up there, if not will give you my feedback when I return. Cheers!
~dinky
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 03 Jun 2008, 06:15 Post subject:
|
|
Sunburnts program mksfs is here:
http://murga-linux.com/puppy/viewtopic.php?t=29839
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Mon 30 Nov 2009, 18:37 Post subject:
|
|
Does the SFS-Combiner work in the SFS4 environment?
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
gyro
Joined: 28 Oct 2008 Posts: 289 Location: Brisbane, Australia
|
Posted: Tue 01 Dec 2009, 08:00 Post subject:
|
|
| Béèm wrote: | | Does the SFS-Combiner work in the SFS4 environment? |
A simple way to combine a number of sfs files is to simply, unsquashfs -f each of them in turn. Then mksquashfs the resultant "squashfs-root" directory.
gyro
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 832
|
Posted: Tue 01 Dec 2009, 12:59 Post subject:
|
|
| gyro wrote: | | Béèm wrote: | | Does the SFS-Combiner work in the SFS4 environment? |
A simple way to combine a number of sfs files is to simply, unsquashfs -f each of them in turn. Then mksquashfs the resultant "squashfs-root" directory.
gyro |
gyro,
Yes, that's the way I do it - and also supposedly this should work -
| Code: | | # unsquashfs -f XXXX.sfs YYYYY.sfs |
My result for more than one sfs file on the command line is always failure with this error - "Floating point exception"
Also the -e option with a list of sfs files doesn't seem to work either.
By any chance, has anyone gotten these options to work?
Cheers,
s
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 10 Dec 2009, 15:19 Post subject:
Error when launching |
|
I installed the SFS-Combiner with gtlbasic003 included on a dpup 482 and a upup 466 machine
In both I have an error which seems to be the same.
I issue first: | Code: | # gtkbasic003 -v
puppybasic 2.5
# | so I suppose gtkbasic003 is installed.
Then I issue the combiner: | Code: | # SFS-Combiner
[Syntax error]
Unable to open "/usr/lib/wxbasicscript/basefunctions.inc" or ".//usr/lib/wxbasicscript/basefunctions.inc"
*** glibc detected *** /usr/bin/gtkbasic003: double free or corruption (top): 0x08ca61a8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb762f845]
/lib/libc.so.6(cfree+0x9c)[0xb76316ec]
/lib/libc.so.6(fclose+0x145)[0xb761fbe5]
/usr/bin/gtkbasic003[0x80eada8]
/usr/bin/gtkbasic003[0x80f3111]
/usr/bin/gtkbasic003[0x80f2ff8]
/usr/bin/gtkbasic003[0x80f3204]
/usr/bin/gtkbasic003[0x8101d44]
/usr/bin/gtkbasic003[0x8101ef4]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb75db455]
/usr/bin/gtkbasic003[0x808abf1]
======= Memory map: ========
08048000-0811d000 r-xp 00000000 00:00 0
0811d000-08cb4000 rwxp 00000000 00:00 0 [heap]
b7100000-b7121000 rwxp 00000000 00:00 0
b7121000-b7200000 ---p 00000000 00:00 0 | but not very brilliant as result.
Do I miss anything else?
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 10 Dec 2009, 15:35 Post subject:
|
|
Salut Bernard,
please use the pet mentioned here in the beginning, it contains the latest version of Gtkbasic and the include files:
http://www.murga-linux.com/puppy/viewtopic.php?t=32575
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 10 Dec 2009, 17:22 Post subject:
|
|
Merci Marc,
Toujours rapide à répondre.
Always a quick answer.
Bernard
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 10 Dec 2009, 17:30 Post subject:
|
|
Mark,
J'ai dû télécharger PuppyBasic2.6 également pour que SFS Combiner fonctionne.
I had to download PuppyBasic 2.6 also for SFS-Combiner to function.
Thank you,
Bernard
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
HiDeHo
Joined: 16 Mar 2011 Posts: 262
|
Posted: Sat 18 Jun 2011, 02:15 Post subject:
|
|
Hi does this application work in lupu series and wary and quirky to combine sfs files.
they have included it in lighthouse pup. but lighthouse has be modified to run up to 40 so i dont see the need for sfs combiner there.
i am wanting as said for other pups.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|