Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 20:40
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
SFS-Combiner - merge some squashfs addons
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 5 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send_private_message 
dinky


Joined: 19 Jan 2008
Posts: 699

PostPosted: Sun 01 Jun 2008, 18:26    Post_subject:  

Look forward to it matey, will be happy to test things. Cheers.
~dinky
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send_private_message 
dinky


Joined: 19 Jan 2008
Posts: 699

PostPosted: 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
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send_private_message Visit_website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send_private_message 
gyro

Joined: 28 Oct 2008
Posts: 489
Location: Brisbane, Australia

PostPosted: 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
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: 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
View user's profile Send_private_message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send_private_message Visit_website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send_private_message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send_private_message 
HiDeHo

Joined: 16 Mar 2011
Posts: 286

PostPosted: 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
View user's profile Send_private_message 
phredo

Joined: 21 Oct 2013
Posts: 33

PostPosted: Thu 07 Aug 2014, 12:02    Post_subject:  

Does this app work on recent puppies like Slacko 5.7? Alternatively, are there other ways to get beyond the 6 sfs loading limit?
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 5 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0882s ][ Queries: 13 (0.0097s) ][ GZIP on ]