Stupid(?) shared library question

Booting, installing, newbie
Post Reply
Message
Author
kjs
Posts: 75
Joined: Sat 06 Jan 2007, 17:00
Location: NJ, USA
Contact:

Stupid(?) shared library question

#1 Post by kjs »

Please excuse my missing knowledge but I am pondering an idea and don't know whether I am chasing a windmill......

Linux uses shared libraries which are loaded upon usage. Does this mean that for Puppy these *.so are first transfered from CD into the directory structure in RAM-disk and upon use they are loaded into RAM again?
If so, wouldn't it be more (RAM)economic to have a dummy program which loads all shared libraries during boot to make them directly accessible to all programs which need them and NOT transfer them to RAM disk? Then they would only be in RAM once and not twice..... As the original dummy would be still running they wouldn't be "unloaded" if an application is closed.

I hope my explanation was good enough and the idea not too stupid.........

Juergen

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#2 Post by Gn2 »

The idea was actually quite fine - how this is implemented needs some Explanation.

kjs
Posts: 75
Joined: Sat 06 Jan 2007, 17:00
Location: NJ, USA
Contact:

#3 Post by kjs »

Ok, I had admitted that my skills aren't too good and I couldn't find this "idea" in the page you linked to (I've read it before posting....) Maybe it's there and I just "didn't get it" (and still don't)......

Juergen

Post Reply