| Author |
Message |
seaside
Joined: 11 Apr 2007 Posts: 834
|
Posted: Wed 15 Jul 2009, 20:10 Post subject:
SFSdirloader Subject description: Load Choicepup sfs files from directories |
|
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
 |
| Description |
Standalone sfs file linker
|

Download |
| Filename |
SFSdirload-standalone-0.3.pet |
| Filesize |
1.5 KB |
| Downloaded |
107 Time(s) |
| Description |
SFSdirload-standalone-0.3 |
| Filesize |
8.94 KB |
| Viewed |
362 Time(s) |

|
| Description |
Loads all sfs in a directory at once
|

Download |
| Filename |
SFSdirload.pet |
| Filesize |
6.78 KB |
| Downloaded |
587 Time(s) |
Last edited by seaside on Tue 20 Dec 2011, 12:59; edited 1 time in total
|
|
Back to top
|
|
 |
nancy reagan
Joined: 22 Jan 2009 Posts: 435
|
Posted: Sun 24 Jul 2011, 08:17 Post subject:
this on the fly sfsdirloader works in lupu as well |
|
Despite all the sfs loaders I like this one awfully much, as it can load heaps of sfs's in one click.
Better then a sfs combiner.
Strange this pet got so little attention other than jrb's who implemented it in one of his choicepups
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9385 Location: SwedenEurope
|
Posted: Tue 02 Aug 2011, 18:17 Post subject:
|
|
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'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Sat 13 Aug 2011, 07:54 Post subject:
|
|
added to the wiki
http://puppylinux.org/wikka/SFSdirloader
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sat 13 Aug 2011, 12:47 Post subject:
|
|
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).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Sat 13 Aug 2011, 16:08 Post subject:
|
|
It is indeed - I didn't know such a thing existed before this thread:-
http://www.murga-linux.com/puppy/viewtopic.php?t=70725
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Sun 14 Aug 2011, 00:06 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Sun 14 Aug 2011, 06:08 Post subject:
|
|
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.
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 14 Aug 2011, 07:10 Post subject:
|
|
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).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
nancy reagan
Joined: 22 Jan 2009 Posts: 435
|
Posted: Sun 14 Aug 2011, 08:46 Post subject:
|
|
| 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 ?
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Sun 14 Aug 2011, 09:21 Post subject:
|
|
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)
| Description |
Requires Yad
|

Download |
| Filename |
SFSdirload-dpup-0.2.pet |
| Filesize |
7.17 KB |
| Downloaded |
149 Time(s) |
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Sun 14 Aug 2011, 09:36 Post subject:
|
|
Is Yad a dependency?
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 834
|
Posted: Sun 14 Aug 2011, 10:10 Post subject:
|
|
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
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Sun 14 Aug 2011, 10:23 Post subject:
|
|
| 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.
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Sun 14 Aug 2011, 10:52 Post subject:
|
|
maybe it wouldn't take too much work to make it stand alone?
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
|