Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 02 Aug 2014, 02:36
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
SFSdirloader
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: 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
SFSdirload-standalone-0.3.pet
Description  Standalone sfs file linker
pet

 Download 
Filename  SFSdirload-standalone-0.3.pet 
Filesize  1.5 KB 
Downloaded  189 Time(s) 
SFSdirload.png
 Description   SFSdirload-standalone-0.3
 Filesize   8.94 KB
 Viewed   451 Time(s)

SFSdirload.png

SFSdirload.pet
Description  Loads all sfs in a directory at once
pet

 Download 
Filename  SFSdirload.pet 
Filesize  6.78 KB 
Downloaded  684 Time(s) 

Last edited by seaside on Tue 20 Dec 2011, 12:59; edited 1 time in total
Back to top
View user's profile Send private message 
nancy reagan

Joined: 22 Jan 2009
Posts: 505

PostPosted: 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. Laughing

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
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: 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 use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2436
Location: near here

PostPosted: Sat 13 Aug 2011, 07:54    Post subject:    

added to the wiki

http://puppylinux.org/wikka/SFSdirloader

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2436
Location: near here

PostPosted: 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
View user's profile Send private message Visit poster's website 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2436
Location: near here

PostPosted: 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.

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
nancy reagan

Joined: 22 Jan 2009
Posts: 505

PostPosted: 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
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: 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)

SFSdirload-dpup-0.2.pet
Description  Requires Yad
pet

 Download 
Filename  SFSdirload-dpup-0.2.pet 
Filesize  7.17 KB 
Downloaded  219 Time(s) 
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2436
Location: near here

PostPosted: Sun 14 Aug 2011, 09:36    Post subject:  

Is Yad a dependency?
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: 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
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2436
Location: near here

PostPosted: Sun 14 Aug 2011, 10:52    Post subject:  

maybe it wouldn't take too much work to make it stand alone?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0817s ][ Queries: 13 (0.0106s) ][ GZIP on ]