Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 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 09 Feb 2010, 11:00
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
GUI to make SFS squash files. ( mksfs )
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
sunburnt

Joined: 08 Jun 2005
Posts: 2744
Location: AZ

PostPosted: Sun 27 May 2007, 05:26    Post_subject:  GUI to make SFS squash files. ( mksfs )  

I made this utility awhile back & forum post interest has prompted me to post it.
I've reworked it a number of times & I think it's getting pretty close to done.

Merges multi. sources into a new SFS file, this reduces the number of unions.
Sources it will use: "dirs.", ".2fs", ".3fs", "NO extention ext2", & ".sfs".

Extract the file & move the dir. "/mksfs" to "/root/my-applications/mksfs".

This app. is in TESTING, use at your own risk!
mksfs.tar.gz
Description  New version... LOTS of MAJOR CHANGES.
gz

 Download 
Filename  mksfs.tar.gz 
Filesize  2.24 KB 
Downloaded  372 Time(s) 
mksfs_gui.png
 Description   It's fairly self explanitory & easy to use.
 Filesize   16.5 KB
 Viewed   1101 Time(s)

mksfs_gui.png


Edited_time_total
Back to top
View user's profile Send_private_message 
JB4x4

Joined: 30 Jul 2006
Posts: 254

PostPosted: Sun 27 May 2007, 08:16    Post_subject:  

Tried out the mksfs app today. My test was to combine 5 sfs files. Here's what I found:

Limit of 4 sfs files, not enough loop devices for any more. I had two sfs files loaded at the time, devx, and my own "mega sfs" file (KDE, openoffice, web, pgs) Could this be noted somewhere in the utility?

At this point I dropped out 1 sfs leaving 4 to run the test.

The end product contained all the data from the original files, but each sfs was in a directory, "-mnt-home-KDE....", "-mnt-home-openoffice....", etc. instead of combined in usr, etc, root, opt, etc.

Lastly, the 4 loop devices that were used, were not umounted when finished.

Overall, it looks like it will be a good utility since more and more sfs files are being created. I made my "mega file" from the command line, but this could be alot easier.

JB
Back to top
View user's profile Send_private_message YIM 
sunburnt

Joined: 08 Jun 2005
Posts: 2744
Location: AZ

PostPosted: Sun 27 May 2007, 14:17    Post_subject:  

Hi JB4x4; Thanks for the feed-back, I rely on users alot to insure my crud works.

Loop devices:
Puppy has only 8 loop devices, I've read that the kernel must be compiled to use
more, or a kernel arg. is needed, or line must be added to /etc/modules.conf (I think).
I see no reason why the kernel wouldn't use more of them, but...
I've used code to make more loop devices for Puppy-1 which only had 5 of them.
They don't take up any space, it'd be real nice if Barry would include
more, say at least 12 or better yet 16 of them & enable them of course.

Currently the only way to have more source files is to reboot with only the
main SFS & Save files (rename any others), this'll allow for 6 source files.

I don't know what the deal with the SFS file having everything in sub dirs.
No one else reported this problem yet, I'll wait & see if it's a flaw...
The mksquashfs command is the same one Barry uses to remaster Puppy.

Changes:
I fixed the missing trailing "/" for paths that're typed in.
It should unmount the source files now.
I also changed the way it makes the mount point dirs. for file mounting.

I posted the new version above... ALOT of MAJOR CHANGES.
Back to top
View user's profile Send_private_message 
Getnikar


Joined: 16 Jun 2006
Posts: 143
Location: Gold Coast, Australia

PostPosted: Mon 28 May 2007, 06:16    Post_subject:  

This looks interesting. I shall have a good look at it in the next few days.
Back to top
View user's profile Send_private_message Send_email 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
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
hot copy
[ Time: 0.2421s ][ Queries: 10 (0.0176s) ][ Debug on ]