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 Sun 18 Feb 2018, 13:40
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Savefolder without 'mount -o bind' - works
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 9 [132 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
Author Message
rufwoof

Joined: 24 Feb 2014
Posts: 2198

PostPosted: Sat 29 Nov 2014, 19:18    Post subject:  

Could a savefolder be the slowest and most complicated full install ever Smile
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1447
Location: Brisbane, Australia

PostPosted: Sun 30 Nov 2014, 16:44    Post subject:  

rufwoof wrote:
Could a savefolder be the slowest and most complicated full install ever Smile
Definitely not a full install.
I can still do a "fresh install" by renaming a single file.
gyro
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11093

PostPosted: Sun 30 Nov 2014, 16:49    Post subject:  

And a fresh boot with a pfix=ram (or no changes= for slax)... for those floaty moments if say you want to partition or test or compile..

and cleanly load and unload sfs files.... and ...oh well Very Happy

mike
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1447
Location: Brisbane, Australia

PostPosted: Mon 01 Dec 2014, 11:56    Post subject:  

And multiple puppies on a single partition.
And.....
gyro
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11093

PostPosted: Mon 01 Dec 2014, 11:57    Post subject:  

Its good to remember why we get our hands dirty in this stuff Very Happy

mike
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2198

PostPosted: Wed 10 Dec 2014, 13:33    Post subject:  

Interesting (at least to newbie me, likely not for you old hats Smile )

Fresh puppy (frugal, ram booted). Copy /root to /mnt/puppy/sda4/root

#!/bin/bash
export HOME=/mnt/sda4/puppy/root
cd /
mv root root-orig
ln -s /mnt/sda4/puppy/root root

then restart x

Now all changes to app configurations etc. are stored in /mnt/sda4/puppy/root i.e. HDD (preserved).

I tried changing the gtk_theme, rebooted and the original theme seen, re-ran the above redirection code/script retarted jwm and the new theme showed.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11093

PostPosted: Wed 10 Dec 2014, 13:46    Post subject:  

Well that sort of reproduces puppy 1 in a fashion which could only save part of the filesystem I suppose.

A save file or folder contains changes to all the system folders.

All this linking out of configs seems odd to me anyway...better to stop the configs being so large....and if yer system is a pile of links to a hard drive use a full install. Very Happy ..not of puppy I may add cos thats not what its built for.

hairy knees

mike
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2198

PostPosted: Thu 11 Dec 2014, 04:11    Post subject:  

Savefile/no savefile is all or nothing. With linking you have the flexibility of anywhere between the two. Modularity. My core puppy is minimal : leafpad (notes), galculator (calculator), mplayer (play/burn DVD's etc), Osmo diary/calendar etc. All booted from read only, so secure. That's expanded by a sfs load that adds in Libre Office (i.e. more advanced text editing, drawing, calculating) and Multi-Media (Openshot video editing, Blender 3D animating, Inkscape, Audacity sound editing), Again from read only medium so secure. Which is further expandable via adding in additional SFS's - Skype ...etc.

Switching (linking) enables either the fixed copy only to be used - or not, so for example load up Libre with its initial read only copy defaults, edit a document, shutdown, or for a pre-configured/adjusted version to be switched in (out), where that might be configured to particular non standard settings and where any changes to that configuration are preserved. Similar for browser. Option to use either the fixed read only copy, or switch to using a pre-configured one where the bookmarks etc from previous sessions are preserved. Most of the time I don't want any binaries/libs (core) changes to occur. The core works well and if changes/additions are required then I'll just make the changes and remaster a new core - typically infrequently. Most of the time I want application level changes to be preserved - if for instance I opt for a new choice of theme for Libre Office - typically more often.

The other factor is updates. When Libre Office is a sfs then swapping that out for another (usually later) version doesn't involve having to remaster. For instance my core puppy has no browser, so the browser used is whichever I select to load as a sfs (or download from Mozilla/wherever).

For online banking I typically boot the core read only copy, run a script that downloads the latest browser direct from the provider and surf to the banks web site using that - all 100% in (clean) ram, with no HDD's mounted. Afterwards I'll reset and load up a more general purpose arrangement that in having been more widely exposed is less secure.

With savefile (or no savefile) its all or nothing, binaries, libs, application configs etc. With linking its modular e.g. no save of bin's/lib's save of app's or ... whatever.

Sounds more complicated than it is in practice. For example for Osmo the CASE statement is

(Osmo)
cd ~
rm -rf ./.osmo
ln -s $APP_DIR/root/.osmo .osmo
/usr/bin/osmo &
exit;;

so any changes are preserved having been pointed to be the HDD version of the .osmo config files. So I either start Osmo via the normal Puppy menu, in which case (being ram booted with no save file) is the original default osmo settings where any changes aren't preserved, or I load Osmo via a gtk dialog list box, that pops up when a second taskbar button (red book) to the right of the main puppy menu button (green go button) is clicked that loads the version of Osmo where changes are preserved across reboots.
menu.jpg
 Description   
 Filesize   47.33 KB
 Viewed   463 Time(s)

menu.jpg

Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11093

PostPosted: Thu 11 Dec 2014, 05:31    Post subject:  

I don't think this thread is the place to learn about your complicated lifestyle though well done for making puppys overstuffed menu even fuller .... Very Happy

mike
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2198

PostPosted: Thu 11 Dec 2014, 06:22    Post subject:  

I don't use "puppys overstuffed menu" that much, mainly my own secondary less-full menu.

I never liked the main puppy menu from the start personally, all the cryptic names that are pretty meaningless to newbie's, "Text editor", "Calculator" ...etc type menu's IMO are easier.

I can see the reasoning - guiding new users to learn app/program names by having those as the first part of each menu item, followed by a brief description of that that app/program does, but even now I seem to scan/search around the menu tree quite a lot when using things that I use less regularly.
Back to top
View user's profile Send private message 
ninotix


Joined: 18 Dec 2013
Posts: 32
Location: Croatia Zagreb

PostPosted: Mon 27 Nov 2017, 03:40    Post subject:  

It would be nice to have Racy 5.5 with save folder functionality, anybody? Smile
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2951

PostPosted: Tue 28 Nov 2017, 15:33    Post subject:  

ninotix wrote:
It would be nice to have Racy 5.5 with save folder functionality, anybody? Smile

Try the attached pet. Is a simple modification of this pet, just to allow installation in Racy and appears to work after minimal (just rebooting...) testing
Backup your savefile before doing anything.
Uninstalling the pet should get you back to your previous state.
Racy_SaveDir-1.pet
Description  Add save directory functionality to Racy 5.5
pet

 Download 
Filename  Racy_SaveDir-1.pet 
Filesize  133.03 KB 
Downloaded  34 Time(s) 

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 9 [132 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0980s ][ Queries: 14 (0.0170s) ][ GZIP on ]