pet2sfs converter?

Miscellaneous tools
Message
Author
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#21 Post by Béèm »

I just succeeded in converting the pidgin 2.6.1pet to a sfs4 sfs.
I renamed the pet to tar.gz and extracted.
With the dir2sfs ttuuxxx referenced here above a sfs4 was created and usable. I did this in puppy 4.3.1
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

SFS and portables

#22 Post by Dromeno »

Can somebody please answer the following questions:

some SFS files can simply be clicked in a booted puppy, then they mount and the programs can be used. Other SFS files really need to be selected in the boot manager so they can be mounted at the next boot.

Obviously the first kind of SFS files are to be preferred - they are almost like park-anywhere (on another disk partition or even online) portable program. Almost, but not completely.

I would love to have a tool to convert all installed PETs of a given puppy into a dir full of completely portable puppy progs. But I guess such a thing will be very difficult to make.

Anyway, my questions: What is the difference between the two kinds of SFS files and why is even a "click, mount & run" SFS a kind of half-portable (it is portable yet it installs in the normal file system when clicked and mounted)?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#23 Post by dejan555 »

Difference is in dependencies and way that programs are linked to libs and where they look for configuration files. Some programs that use libs that are already in your system can be ran just by clicking on executable, also programs that are static compiled so they have all libs in one directory, but some programs have to mount libs in path relative to filesystem and not where you mount them. When you put sfs in /mnt/home and reboot it mounts sfs on / and all files that are in sfs are put to coressponding dirs on filesystem, but if you just click to mount using filemnt it mounts somewhere in mnt and not all needed files are in correct place. If you want to mount sfs's on-the-fly I think choicepup supports that or you can use sfs linker, there's pet here on forum.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#24 Post by dejan555 »

Basically, or sfs's are made to be used on reboot, you're just lucky to find some that can be used that way you say.

BTW, I've made a script for converting pets to sfs once, I'll look if I still have it.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

moB
Posts: 116
Joined: Mon 19 Oct 2009, 11:25
Location: Coastal

pet2sfs may fix guest additions

#25 Post by moB »

Having trouble with the VBox guest additions in Gray's Boxpup.

The guest additions install well from the NOP repositiory pet package.
However on reboot shared folders/directories are broken. The error is a "No such device".
Installing the pet (with or without uninstalling it first) fixes this problem.
Restarting X is not required.

I could script this to occur at each boot, but that would be too slow...

Perhaps if the pet were a sfs it might work better, as it would be (re)loaded each time :?:

This has been tested with VirtualBox OSE under Mint and non-free under msWindoze (XP). Same result.

I am using VirtualBox to make Puppy available to msWin users...
They need something robust and quick.

No problem with Puppy 4.3.1 or NOP 4.3.1 ... hmmm.

Works fine with Synth's TurboPup, based on Puppy 4.2, as well.

Any tips or ideas here?

Thanks!
moB

"not too late is it, even now..."
-Moby DIck (The Whale) by H. Melville, 1851

Post Reply