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 Mon 22 Oct 2018, 14:36
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Where to get documentation on the "init" script
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
gyro

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

PostPosted: Tue 17 Apr 2018, 20:51    Post subject:  Where to get documentation on the "init" script  

"When init starts, the full-blown Puppy is still just a number of files on a storage device.
The job of init is to use those files to build a Puppy based in RAM and then hand over control to it."

The best documentation of the "init" script can be viewed on github as https://github.com/puppylinux-woof-CE/woof-CE/raw/testing/initrd-progs/0initrd/README.txt.

This file is actually present in each Puppy inside the "initrd.gz", so not so easily accessible.

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


Joined: 24 May 2015
Posts: 897

PostPosted: Tue 17 Apr 2018, 22:25    Post subject:  

Thanks for this.
Back to top
View user's profile Send private message 
gyro

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

PostPosted: Wed 18 Apr 2018, 05:20    Post subject:  

drunkjedi wrote:
Thanks for this.
You are welcome.
gyro
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Fri 20 Apr 2018, 00:33    Post subject: drivers blacklisted in your pupsave will not be loaded at bo  

* If the boot is considered to be from a "flash" device, the directory containing the save layer
is inserted as a read-only layer immediately below the read-write layer.
*
That has to be described deeper.. Pupsave load first, when SFS on the fly are loaded at the end..
For instance drivers blacklisted in your pupsave will not be loaded at boot. On the contrary drivers as wireless ones added will allow Puppy to connect during boot process (RTL8192CU)
Back to top
View user's profile Send private message 
gyro

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

PostPosted: Fri 20 Apr 2018, 02:32    Post subject:  

@hamoudoudou,
Don't confuse the order that "init" processes the Puppy files, with the position they have in the stack.
"Puppysave load first" is not important, and in the current "init" it is processed last.
The savelayer directory (or directories in "flash" case) is always placed at the top of the stack so that it can "cover" any file in any of the sfs's.

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

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Sun 22 Apr 2018, 12:33    Post subject: ok that is clear...  

ok that is clear...
Active RAM : Understood
Swap : understood
IMO : the best is to load the minimum at start..
What is not clear is where is stored for instance A Puppy Linux loaded full in RAM
Ram should be fulfilled at least of the size of uncompressed ISO..
where is tmpfs ?
Not really a problem with my 4gb RAM. It's just curiosity. From time to time i would like to understand how things work.. from time to time only..
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Sun 22 Apr 2018, 16:34    Post subject:  

hamoudoudou wrote:
Ram should be fulfilled at least of the size of uncompressed ISO...
When puppy is copied to ram, I don't think it's uncompressed.
I have seen people mention this on forum. Some even blame it being cause of few unexplained problems they have seen.
I neverfelt any such problems though.

In Fatdog if basesfs=ram option is given, the 350mb basesfs is copied to ram.
If basesfs=expand option is given, the basesfs is expanded to 1.2Gb and copied to ram.
The difference is observed in speed in working of bigger softwares like libre office, although very minor.
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Sun 22 Apr 2018, 22:12    Post subject: Bizarre... très bizarre (strange)  

drunkjedi everyrthing seems to give you agreement on your information. sFS seems not to be expanded.. as if it was loaded on the fly..
Bizarre... très bizarre (strange)
I will check older puppies not woof CE..
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0659s ][ Queries: 13 (0.0233s) ][ GZIP on ]