Edit-SFS 2.1 (squash filesystem editor)
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 535 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]
Don't know about the sfs edit utility, but I've just run
mksquashfs <directory> some.sfs
on a ntfs partition and created the sfs fine. Opened it and content ok
Also ran
unsquashfs some.sfs
and it created the squashedfs-root directory containing the content of the sfs
To see which compression choices are available - in a terminal type
mksquashfs --help
Mine show gzip, xz, lz4, lzo as available choices, but that's because I recompiled with lz4 support. It also shows the compression switch/choices
mksquashfs <directory> some.sfs
on a ntfs partition and created the sfs fine. Opened it and content ok
Also ran
unsquashfs some.sfs
and it created the squashedfs-root directory containing the content of the sfs
To see which compression choices are available - in a terminal type
mksquashfs --help
Mine show gzip, xz, lz4, lzo as available choices, but that's because I recompiled with lz4 support. It also shows the compression switch/choices
Pet does not work anymore at Home.
Pet does not work anymore at Home. I check for that. EditSFS is so useful !
About partition SFS needed, use your RAM, ASRI !
error was : edit-sfs, not editsfs (terminal)
Be careful using a laptop Acer. Temperature goes up to 84° celsius when editing
I compress in Gz format first, if fine, i launch again edit SFS to compress XZ. It's my way, only my way.
"To see which compression choices are available - in a terminal type
mksquashfs --help" Rufwoof, you are my best helper in this forum ! graphics, video and editSFS, thanks a lot
About partition SFS needed, use your RAM, ASRI !
error was : edit-sfs, not editsfs (terminal)
Be careful using a laptop Acer. Temperature goes up to 84° celsius when editing
I compress in Gz format first, if fine, i launch again edit SFS to compress XZ. It's my way, only my way.
"To see which compression choices are available - in a terminal type
mksquashfs --help" Rufwoof, you are my best helper in this forum ! graphics, video and editSFS, thanks a lot
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
Creating a SFS from dir with files from ntfs partition will work properly.
Creating a SFS from dir with files from vfat will work also properly.
The/a general problem will appear when trying to extract the content of a SFS to a vfat and/or ntfs partition.
Vfat will loose all symbolic links and ntfs (as well as vfat) will turn/change all plain text files without the file extension into executable script files (the ones with the green text color) - so you can't open them in a text editor anymore by left-clicking the text file.
I recommend to use ext partitions generally when it comes to the creation and/or extraction of packages - no matter if .tar.gz, .pet, .deb or .sfs etc.pp. Since you are in linux, you should do anything done on those linux files by using a ext partition generally and only there!
Creating a SFS from dir with files from vfat will work also properly.
The/a general problem will appear when trying to extract the content of a SFS to a vfat and/or ntfs partition.
Vfat will loose all symbolic links and ntfs (as well as vfat) will turn/change all plain text files without the file extension into executable script files (the ones with the green text color) - so you can't open them in a text editor anymore by left-clicking the text file.
I recommend to use ext partitions generally when it comes to the creation and/or extraction of packages - no matter if .tar.gz, .pet, .deb or .sfs etc.pp. Since you are in linux, you should do anything done on those linux files by using a ext partition generally and only there!
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink: