Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 01:23 Post subject:
|
|
Ibidem; Correct. My post on the first page shows the 3 files that run it ( It`s old now ).
First is a unique script that exports the pkg. name+ver., runs script 2 passing app. exec. and args.
Second is a generic script, mounts Sq. files and unionfs-fuse, runs script 3 passing app. exec. and args.
Third is a generic tiny ( 31 b ) "hook" script that does chroot and runs the app`s. exec.
There`s a RW config. dir. layer, on a RO app. dir. layer, on a RO / layer, all on a union dir.
Chroot into the union dir. and all 3 layers should be accessible as / . Right?
I look at the union dir. and all of the layers ARE there. Chroot isn`t playing nice.
xMahjongg runs just fine in this setup, but so far nothing else works.
### I`m now thinking of different ways to use the union without chroot.
I thought of 5 unions, Save layers mounted on each: /etc, /var, /opt, /root, /usr/share
Each of them like this: unionfs-fuse /tmp/OS/etc=RW:/tmp/OS/sq.mnt/etc=RO /etc
Links in /etc point to the AppPkg /etc dir. So the config. files are in AppPkg.
Also 1 union like Puppy ( chroot ) with a Save layer of only configs. and links on / .
No App. installs in Save because there`s no need to with AppPkgs.
For Puppy I`ve said before that there should be 2 Save files, for configs. and apps.
.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 03:25 Post subject:
|
|
sunburnt wrote: | I like the idea of many slide-out panels.
I posted a concept of labeled colored bars anywhere along the screen sides. hover to slide-out.
On a single left side panel: desktop buttons, drive/partition buttons, task-bar buttons, and tray.
Task-bar and drive/partition buttons are stacked vertically so lots of them fit in a small space.
Another left side panel bar labeled menu is a slide-out apps. menu that can also be DnD on.
Desktop icons get covered up, but the bars and panels are on-top, so drag-hover-select-drop.
Desktop icons are messy, slide-out panels organize items and the desktop`s clean and pristine. | Excellent idea, especially for netbooks.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 03:29 Post subject:
|
|
sunburnt wrote: | For Puppy I`ve said before that there should be 2 Save files, for configs. and apps.
. | Another excellent idea - config files could contain all personal info (wireless key etc) and be completely separate from other app additions (and hopefully portable to all future puppies...)
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 03:46 Post subject:
|
|
Thanks greengeek; All "loose file" apps. in one layer, and everything else in the other.
Portable to the future... Never gonna happen, they keep changing everything.
JWM has changed, and the apps. change for no reason at all it seems.
GTK folks redo all kinds of stuff on a regular basis, and so do many others.
Only the base Linux O.S. stuff stays the same, neer as I can tell...
Standards. IF they don`t wanna, it`s okay, then they`re just not compatible.
What if Firefox`s user base fell because they didn`t follow "app. standards".
Last edited by sunburnt on Thu 24 Jan 2013, 03:50; edited 1 time in total
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Thu 24 Jan 2013, 03:50 Post subject:
|
|
Exactly. It's a much better idea to keep backups and config notes somewhere that you can browse before screwing up the new distro. It's way too easy to forget what you've configured.
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 03:53 Post subject:
|
|
jpeps; And mixing the apps. and those config. files make for a real mess.
Make it easy to do separate backups of the configs. and also the apps.
Speaking of mixing, how about /root and /home for configs. and user files?
At least put the config. files in a hidden sub dir. so the noobs don`t bork it.
Last edited by sunburnt on Thu 24 Jan 2013, 03:57; edited 2 times in total
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 03:55 Post subject:
|
|
sunburnt wrote: | Portable to the future... Never gonna happen, they keep changing everything. | True enough. But if you set a well designed precedent others will quickly adopt/modify it. I think thats a great idea to have a separate savefile for personal settings/private data. I'm gonna give that idea 12.5 out of 10
- puppy distro layer
- app layer
- personal layer
Last edited by greengeek on Thu 24 Jan 2013, 04:00; edited 1 time in total
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 04:00 Post subject:
|
|
You have the layers reversed. And config. not personal.
I`d like to think you`re right, but I don`t see any historical evidence for it.
Especially the big app. guys, they really don`t care.
It`s the "Uncle Bill" syndrome, "Do it my way or not at all...".
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 04:07 Post subject:
|
|
sunburnt wrote: | It`s the "Uncle Bill" syndrome, "Do it my way or not at all...". | Possibly so, but did Uncle Bill foresee Android? I doubt he did, yet Android gives many users a data experience they are happy with. Good ideas that give the end user the experience they want can sometimes win through in the modern market regardless of the origin.
I hope you get some breakthroughs with your preferred puppy architecture - I think you have some ideas here that users will appreciate.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 04:11 Post subject:
|
|
sunburnt wrote: | You have the layers reversed. And config. not personal. | Not sure why you say that...
Choice 1 would be to select the puppy you prefer.
Choice 2 would be to select the range of apps someone else has added to the puppy. (eg: "multimedia pack", or " "science pack")
Choice 3 would be to graft your own personal (private) settings over the top of everything. (eg: "wireless key", and/or "local language") etc
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 04:50 Post subject:
|
|
Ahhh. You mean selections. Layers refers to the union FS.
Puppy has it`s main SFS file at the bottom, add-on SFS on top of that, and the Save at the very top.
This way the files in the Save overshadow all the other layers.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 04:55 Post subject:
|
|
yeah, sorry, I'm not too clear on the distinctions between fs layers and sfs layers yet.
Can someone tidy up the linux filesystem please...
(and make it easy for dummies...)
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 05:34 Post subject:
|
|
SFS file has a FS that is mounted just like the Save file, or partitions, or CDs.
Any number of these items or ordinary dirs. can be unioned into one view.
It`s what allows a live CD to work, otherwise you couldn`t write to it.
And SFS files are read only too, so it makes SFS files writable also.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 4943 Location: Republic of Novo Zelande
|
Posted: Thu 24 Jan 2013, 14:19 Post subject:
|
|
I wonder if would it be possible to build a puppy that could use a "personal sfs" that became the container for all the "user specific" info like wireless key etc.
So that a remaster could easily exclude that personal info and just pickup the base puppy plus installed apps.
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 24 Jan 2013, 18:37 Post subject:
|
|
The dual Save file idea is just that. Remove the config. layer before remastering.
As said, the mixing of the configs. and installed apps. make for a mess.
As said, one Save file layer for apps. only, the other for everything else.
|
Back to top
|
|
 |
|