(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Sep 2020, 04:07
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Control over which Puppy files are copied to RAM at bootup
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
nic007


Joined: 13 Nov 2011
Posts: 3444
Location: Cradle of Humankind

PostPosted: Sat 28 Dec 2019, 21:21    Post subject:  Control over which Puppy files are copied to RAM at bootup  

By default Puppy copies the Puppy files i.e.: base sfs, zdrv, adrv, ydrv, fdrv to RAM at bootup if you have enough RAM. This behaviour can be changed by specifying pfix=nocopy in which case none of the files will be copied. It would be nice if one could choose which of these files be copied to RAM and which not. For instance it may be useful to allow for copying of the base and zdrv to RAM but you may not want to copy your ydrv (which could be massive and contain files which are only accessed occasionally). The bootup time will be affected by the size of these files being copied, which is another reason one should be able to choose which to copy or not to copy. Any ideas?
_________________
nicOS-Utility-Suite
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5834
Location: Republic of Novo Zelande

PostPosted: Mon 30 Dec 2019, 14:37    Post subject:  

Great idea.
I am guessing that this would require a modified initrd.gz

Gyro did a huge amount of work with initrd - i think more work in that area is needed as it could open the door to better modularity within pups and make it very easy to boot the user's preferred pup in either micro mode or full blown mode (or anywhere between)

A little bit similar to RSH's work using text files to specify which components to load during boot.
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3444
Location: Cradle of Humankind

PostPosted: Tue 31 Dec 2019, 04:46    Post subject:  

Okay, I've managed to isolate my ydrv from being copied to RAM which was my objective. Base sfs, zdrv and adrv (which only contain system configurations) are now copied to RAM at bootup but my big ydrv is only mounted and not copied. Smile
_________________
nicOS-Utility-Suite
Back to top
View user's profile Send private message 
Dry Falls

Joined: 16 Dec 2014
Posts: 616
Location: Upper Columbia

PostPosted: Tue 31 Dec 2019, 06:57    Post subject:  

Hi Nic. How did you do this (in init script I presume)? Very interesting. I'd have thought it couldn't be done!
df
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3444
Location: Cradle of Humankind

PostPosted: Tue 31 Dec 2019, 07:49    Post subject:  

Yes, made modifications to initrd.gz.
_________________
nicOS-Utility-Suite
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2626

PostPosted: Tue 31 Dec 2019, 12:11    Post subject:  

nic007 wrote:
Yes, made modifications to initrd.gz.


Please publish your changes. This sounds quite useful. I would also ask you to do a merge request with woof-CE but if you are dong this on an older system, you'll probably get flack for that Sad

Maybe, though you could submit it as an issue and some dev running the latest woof-CE code can make the changes with the latest initrd.

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.1799s ][ Queries: 12 (0.1304s) ][ GZIP on ]