SFSdirloader

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

SFSdirloader

#1 Post by seaside »

Thanks to ChoicePup and JRB, here is SFSdirloader.

This ChoicePup addon PET allows you to arrange your SFS files in directories and load each directories' sfs files all at once.

For example,

Create a directory named SFS and then create subdirectories according to whatever logical grouping for categories of interest or tasks.

Internet
Documents
Art
Music
etc..

In each sub-directory put whatever SFS files you would like to load for each category.

SFSdirloader will present a directory selector which will allow an SFS directory to be picked and every SFS file in that directory will be loaded at once.

It comes with an icon under Menu/Utility

Note: Since individual SFS files can be loaded by right-clicking in ROX, the SFSdirloader isn't set up to load individual SFS files.

EDIT: 12-20-2011 UPDATE

SFSdirload-standalone-0.3.

The prior SFSdirload was made to work with Choicepup. This version should work on any puppy as it sym-links all SFS files in a directory and cleans up during shutdown (thanks to some nice crisp code from Technosaurus).

If you check the box, the selected sfs directory will be placed in the Startup directory and loaded at boot.

You can also load an sfs directory from the command line e.g."SFSdirload /my/sfs/dir". Also, if you want to unmount and cleanup before shutdown, at any time run "SFSdirload stop"

I've tested this on Pup431 and Wary522 and have not run into any problems so far. However, do not run a Devx sfs because the linking will not work properly.

Below is a pet which will appear under Menu/Filesystem

Cheers,
s
Attachments
SFSdirload-standalone-0.3.pet
Standalone sfs file linker
(1.5 KiB) Downloaded 463 times
SFSdirload.png
SFSdirload-standalone-0.3
(8.94 KiB) Downloaded 595 times
SFSdirload.pet
Loads all sfs in a directory at once
(6.78 KiB) Downloaded 1034 times
Last edited by seaside on Tue 20 Dec 2011, 16:59, edited 1 time in total.

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

this on the fly sfsdirloader works in lupu as well

#2 Post by nancy reagan »

Despite all the sfs loaders I like this one awfully much, as it can load heaps of sfs's in one click. :lol:

Better then a sfs combiner.

Strange this pet got so little attention other than jrb's who implemented it in one of his choicepups

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#3 Post by nooby »

Thanks Nancy Reagan for reminding us and thanks Seaside too.

I agree, very few seems to care about sfs loaders. Very surprising to me too.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#4 Post by darkcity »


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

#5 Post by Béèm »

Is this sfsdirloader of the type load/unload on the fly.
In other words, no need to reboot the PC?
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]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#6 Post by darkcity »

It is indeed - I didn't know such a thing existed before this thread:-

http://www.murga-linux.com/puppy/viewtopic.php?t=70725

stu90

#7 Post by stu90 »

Daft question but is there a limit to the amount of .sfs that can be loaded with SFSdirloader - and also once you have loaded a directory of .sfs how do you then unload them / the directory?

cheers.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#8 Post by darkcity »

Not sure on the limit of SFS file (bootloader says max of six, why is this?)

I can't see a way of unloading, other than rebooting.

--

One question - why does the app start telling me what other SFS are loaded when installing a new one?

For example-

I load GimpSFS and it tells me OOo3SFS is already loaded?

When I trying to load GimpSFS again (as a test) it tells me GimpSFS already loaded, then OOo3SFS already loaded, then lupu525SFS already loaded.

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

#9 Post by Béèm »

Also if I understand well, you can have different environments (directories with some sfs files).
But if you need a sfs in more then one environment it has to be duplicated in the corresponding directory for that environment.
Thus occupying extra space.
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]

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

#10 Post by nancy reagan »

Béèm wrote:Also if I understand well, you can have different environments (directories with some sfs files).
But if you need a sfs in more then one environment it has to be duplicated in the corresponding directory for that environment.
Thus occupying extra space.
Used to use in 4 and later 5 series. Suddenly not working anymore asking useable 5 series.

Muggins said working fine in 5.

Started again, worked. You have to make categories corresponding with menu entry. You can store them -any- place.

HOWEVER yeserday trying again and refused .....

In 4 series used together with TCZ linker maybe that is the cause ?

stu90

#11 Post by stu90 »

Yes .sfs seem to be unloaded upon reboot - however the menu entries for the .sfs still remain for me.

I made an update to use Yad for the GUI and the last directory loaded is remembered and starts at that directory the next time SFSdirloader is run - i also added a fixmenus script to Startup to take care of redundant menu entries when the .sfs are unloaded (this maybe not needed on the puppy you are running)

Image
Attachments
SFSdirload-dpup-0.2.pet
Requires Yad
(7.17 KiB) Downloaded 500 times

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#12 Post by darkcity »

Is Yad a dependency?

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#13 Post by seaside »

I think perhaps SFSdirloader is being used in places it was not designed for.

It was created as an addon to ChoicePup, not as a standalone program.

It mounts and links SFS files to the loop limit (much more than 6) but does not union the SFS files. This means that if SFSdirloader is used without ChoicePup, there is no cleanup and all the temporary symlinks are saved (not what one wants).

All of the "unloading" and cleanup is done by ChoicePup and not SFSdirloader.

Cheers,
s

stu90

#14 Post by stu90 »

seaside wrote:I think perhaps SFSdirloader is being used in places it was not designed for.

It was created as an addon to ChoicePup, not as a standalone program.

It mounts and links SFS files to the loop limit (much more than 6) but does not union the SFS files. This means that if SFSdirloader is used without ChoicePup, there is no cleanup and all the temporary symlinks are saved (not what one wants).

All of the "unloading" and cleanup is done by ChoicePup and not SFSdirloader.

Cheers,
s
thanks for the clarification seaside.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#15 Post by darkcity »

maybe it wouldn't take too much work to make it stand alone?

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#16 Post by darkcity »

have you seen SFSLoad, sfsdirloader has similar function?

http://www.murga-linux.com/puppy/viewtopic.php?p=583658

Post Reply