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 Tue 25 Nov 2014, 18:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
patchSfsWithSfs.sh - merge .sfs files
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
gyro

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

PostPosted: Fri 21 Nov 2014, 06:26    Post_subject:  patchSfsWithSfs.sh - merge .sfs files
Sub_title: Uses 'unsquashfs -f' for simplicity
 

Yet another utility to merge sfs files.
Warning - do not run this script if the current directory is on a non-Linux partition.

Code:
patchSfsWithSfs.sh my.sfs patch1.sfs patch2.sfs
This results in a new 'my.sfs' file combining the files from all listed sfs files.
The original 'my.sfs' is renamed to 'my.sfs.bak'

Note: The script contains 2 lines for the mksquashfs command.
Use the longer, commented out, line to get the smallest sfs.
I removed some options to improve speed at a loss of a slightly larger sfs file.

Why :
1) I recently discovered the 'unsquashfs -f' option which makes it very simple.
2) Found the mksquashfs options used by woof-ce on puppy_sfs files to make them small.

gyro
patchSfsWithSfs.sh.gz
Description  Just 'gunzip' to produce script file.
gz

 Download 
Filename  patchSfsWithSfs.sh.gz 
Filesize  345 Bytes 
Downloaded  11 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0420s ][ Queries: 12 (0.0095s) ][ GZIP on ]