Edit-SFS 2.1 (squash filesystem editor)
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
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.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
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...
Whatever it takes to D/L is, after you reboot to Puppy, rename it to *.pet first to install it in Puppy..
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...
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
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!
Puppy since 2.15CE...
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!
Puppy since 2.15CE...
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.
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.
Hello rg66
Hope this helps
CatDude
.
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:Change it to look like this:Code: Select all
echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE'" > "${TREE_BASE}/script"
Code: Select all
echo -e "#!/bin/sh\n'$MKSQUASHFS' '$TREE' '$TREE_BASE/$SFSFILE' -comp xz" > "${TREE_BASE}/script"
Hope this helps
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
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.
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: Select all
#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
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
rcrsn51 wrote:
(This method works best for larger edits.)
Then, to remove squashfs-root folder:You can do this manually.
1. unsquashfs old.sfs
2. modify the folder squashfs-root
3. mksquashfs squashfs-root new.sfs
Code: Select all
rm -r squashfs-root
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
- Attachments
-
- qtWeb.png
- My Puppy Legopen Unicorn got QtWeb as browser included by edit-sfs (replacing Netsurf)
- (22.47 KiB) Downloaded 403 times
Last edited by Pelo on Sat 23 Jan 2016, 06:10, edited 2 times in total.
- Hesse James
- Posts: 106
- Joined: Mon 08 Feb 2010, 18:41
Hi
I often use edit-sfs. I recently tried to delete some files out of a large SFS-file (>100 MB). To my astonishment the resulting file was significant larger than the original one despite the deletion (+10%). The reason were the not optimized compression parameters for mksquashfs inside edit-sfs. Therefor I added the command line parameters according to:
http://techoverflow.net/blog/2013/01/11 ... om-folder/.
This modification might be helpful for you too.
Christian
I often use edit-sfs. I recently tried to delete some files out of a large SFS-file (>100 MB). To my astonishment the resulting file was significant larger than the original one despite the deletion (+10%). The reason were the not optimized compression parameters for mksquashfs inside edit-sfs. Therefor I added the command line parameters according to:
http://techoverflow.net/blog/2013/01/11 ... om-folder/.
This modification might be helpful for you too.
Christian
- Attachments
-
- edit_sfs-2.16.pet
- (8.39 KiB) Downloaded 531 times
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Thank you Hesse James.edit_sfs-2.16.pet
Is it possible to choose the compression?
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Edit_SFS : the most usefull tools ?
This is the best GUI I know to edit sfs.Pelo wrote:Edit_SFS : the most useful tools ?
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Edit-SFS need a ext* partition, it is not compatible with fat/ntfs.Ghost Dog wrote:Except sometimes, on some installations, I can't use a working partition, only ram.
Is this related to your problems?
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I thought of this possibility, if you used a folder fat/ntfs placed outside the pupsave.Ghost Dog wrote:Are you sure? Because I can use that ntfs partition all the time with Edit-sfs, it's just certain distros that give me that gtk error that I have problems with.
It is abnormal.Ghost Dog wrote:Edit: I just tried using / as my partition, since I'm on a full install that's ext4. Same thing...
I admit that it's been (2 years) I have not used this utility (since I do everything from the command line).
I'll try to find some time to reinstall and test it.
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]