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 Fri 21 Nov 2014, 00:55
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Edit-SFS 2.1 (squash filesystem editor)
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [28 Posts]   Goto page: Previous 1, 2
Author Message
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 09 Dec 2011, 22:55    Post subject:  

Yeah, my website randomly disappeared for some reason. Been distracted the last couple days and didn't notice until tonight. Just sent in a support ticket to find out wtf happened.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Wed 16 May 2012, 05:13    Post subject:  

Hi there

Is the pet file still available?

I have checked the link in the 1st post and on the wikki and it gives me a file:

editsfs-2.1.man (?) 8kb

should this not be a *.pet file?

Thanks in advance!
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3222
Location: Chickasha Oklahoma

PostPosted: Wed 16 May 2012, 23:24    Post subject:  

Very Happy Hello,
Still works for me..
http://www.browserloadofcoolness.com/software/puppy/PETget/edit_sfs-2.1.pet

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Thu 17 May 2012, 12:22    Post subject:  

Hi there, thanks for letting me know, but I still appear to have the same problem Embarassed

Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3222
Location: Chickasha Oklahoma

PostPosted: Thu 17 May 2012, 17:53    Post subject:  

Very Happy Hello,
LOL, the screen shot helped a lot..
You are using Windows to D/L it, and Windoze dont see no .pet files..
I believe that whatever Winblows calls it, D/L it, and reboot to Puppy, it should show up as a .pet..
But really, I recommend D/Ling it in Puppy...
If it wont D/L try renaming it .zip first... Wink
Whatever it takes to D/L is, after you reboot to Puppy, rename it to *.pet first to install it in Puppy..

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
ICPUG

Joined: 24 Jul 2005
Posts: 1290
Location: UK

PostPosted: Fri 18 May 2012, 08:08    Post subject:  

I'm not sure if this is what Puppyluvr is saying or not!

Windows may not recognise .pet files and think they are something else. In your case it seems to think it is a .man file.

Just download it and it will be called edit_sfs-2.1.man.

It will still be called edit_sfs-2.1.man in Puppy.

Start Puppy and rename the file to edit_sfs-2.1.pet.

Click to load the pet.

Alternatively download it with Puppy and it will be downloaded with the correct name.
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Sun 20 May 2012, 06:10    Post subject:  

OK, thanks to both of you Smile

Finally got it working ..... very pleasantly surprised to see it's an absolutely tiny app.
Back to top
View user's profile Send private message 
rg66


Joined: 23 Jul 2012
Posts: 581
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

PostPosted: Mon 24 Sep 2012, 02:31    Post subject:  

Very usefull tool! However, when it recompresses the sfs file is quite a bit larger than the original. The sfs file's I want to edit are compressed with xz, does this app only use gz and if so can it be changed to use xz?
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1497
Location: UK

PostPosted: Mon 08 Oct 2012, 08:27    Post subject:  

Hello rg66

rg66 wrote:
.... The sfs file's I want to edit are compressed with xz, does this app only use gz and if so can it be changed to use xz?


    Go to: /root/my-roxapps/
    Right-click on the icon called: Edit-SFS
    Select: Look Inside
    Now right-click on the file called: AppRun
    Select: Open As Text

    At line 223
    you should find the following line:
    Code:
    echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE'" > "${TREE_BASE}/script"


    Change it to look like this:
    Code:
    echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE' -comp xz" > "${TREE_BASE}/script"


The above details were originally found here.

Hope this helps
CatDude
.

_________________

Back to top
View user's profile Send private message 
rg66


Joined: 23 Jul 2012
Posts: 581
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

PostPosted: Mon 08 Oct 2012, 09:01    Post subject:  

Thanks CatDude! I was close, I had -comp xz on the right line but in the wrong place. Just tested and it's working great.
_________________
Carolite-1.2 / Carolina-1.2 / X-precise-2.4 / X-slacko-2.2
Carolina
X-precise/X-slacko
Back to top
View user's profile Send private message 
rg66


Joined: 23 Jul 2012
Posts: 581
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

PostPosted: Thu 22 Nov 2012, 09:13    Post subject:  

Ok, I wanted to have the option of choosing compression type. I took some of the code from an SFS builder script and modified this one to give xz or gz options.

It does work, but since I'm a newbie at this could someone who knows what they're doing give me the proper code? This seems a bit redundant. Also, this script uses X-dialog which I couldn't get to work.
Code:

#Use mksquashfs to put it back together
yad --title "Choose Compression Type" --button=XZ:0 --button=GZIP:1 --text "Choose which algorthim to compress the sfs with.
Chosing XZ here will give you a smaller iso but
may be slower than GZIP on very lowspec machines."
if [ $? = 0 ] ; then
    rox -D "$TREE"
    echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE' -comp xz" > "${TREE_BASE}/script"
    chmod +x "${TREE_BASE}/script"
    rxvt -geometry 80x4 -e "${TREE_BASE}/script"
    rm "${TREE_BASE}/script"
    sync
elif [ $? = 1 ] ; then
     rox -D "$TREE"
     echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE'" > "${TREE_BASE}/script"
     chmod +x "${TREE_BASE}/script"
     rxvt -geometry 80x4 -e "${TREE_BASE}/script"
     rm "${TREE_BASE}/script"
     sync
fi       

_________________
Carolite-1.2 / Carolina-1.2 / X-precise-2.4 / X-slacko-2.2
Carolina
X-precise/X-slacko
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1783

PostPosted: Thu 19 Sep 2013, 00:48    Post subject:  

rcrsn51 wrote:
Quote:
You can do this manually.

1. unsquashfs old.sfs
2. modify the folder squashfs-root
3. mksquashfs squashfs-root new.sfs

Then, to remove squashfs-root folder:
Code:
rm -r  squashfs-root

(This method works best for larger edits.)
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3312
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 18 Jun 2014, 23:29    Post subject:  Edit_SFS : the most usefull tools ?  

Edit_SFS : the most useful tools ? I can make the ISO as I like, SFS to, adding or removing stuff. Nice. Very nice Razz
EditSFS.jpg
 Description   Idendity Card in Osmo
 Filesize   61.84 KB
 Viewed   474 Time(s)

EditSFS.jpg


_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 2 of 2 [28 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

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
[ Time: 0.0763s ][ Queries: 13 (0.0051s) ][ GZIP on ]