Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: why not save more RAM free, and not wasted ?, when boot "toram" some RAM is wasted< Next Oldest | Next Newest >
BV1AL Offline





Group: Members
Posts: 4
Joined: Nov. 2005
Posted: Dec. 21 2005,17:12 QUOTE

why it is "*1.1" in "linuxrc" and not any value less than "1.1" ?

line 421, code:
SIZE="$(/usr/bin/du -s $COPY | /usr/bin/gawk '{print int($1*1.1)}')"
         
for the original DSL 2.0, this will make about 4.5MB RAM wasted.

(when boot with option "toram", the "/cdrom/" is on RAMDISK but
read-only, so I say it is "wasted")

if I remastered DSL and make "KNOPPIX" size up to say 70MB, this
will make about 7.7 MB RAM wasted.

this is meaningful when boot on some "small RAM" machine.

so I reduce the value to "1.01", and it work without problem.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 27 2005,01:18 QUOTE

Looks good. Look for this 2.1RC3 rsn.
Thanks for sharing.
Back to top
Profile PM WEB 
1 replies since Dec. 21 2005,17:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: why not save more RAM free, and not wasted ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code