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
Pages: (5) </ 1 2 [3] 4 5 >/

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

reply to topic new topic new poll
Topic: Recursive-strip C comments< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Dec. 08 2007,17:21 QUOTE

Quote
Is this only to save space for the compressed tarballs?... or to pack more in the RamDisk when running the LiveCD version?
Both..

Quote
Is there such a thing as a compressed folder (a la NTFS) that could be used for savings in RamDisk?
Nope, not with vanilla ext2.. There is a gzip compression patch, but that would use too much computing power to have in DSL.

Quote
If it's for the tarball sizes (uci sizes), how much difference does it make after compression?  An unstripped xyz is how much bigger than a stripped xyz after it's compressed?
Unstripped apps are generally 2-5 times larger than stripped (for example: bash 3.2 not stripped 1.5M, stripped 480kb)
Of course the difference isn't as big compressed..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Dec. 08 2007,17:41 QUOTE

Quote (john.martzouco @ Dec. 08 2007,19:43)
If it's for the tarball sizes (uci sizes), how much difference does it make after compression?  An unstripped xyz is how much bigger than a stripped xyz after it's compressed?
For example (based on what I am working on):
(1)
gtk2-dev.unc (unstripped) -- Size: 516K
gtk2-dev.unc (stripped) -- Size: 240K
Contents and configuration:
atk-1.9.1: Config [pastebin.com]
cairo-1.4.12: Config [pastebin.com]
glib-2.12.13: Config [pastebin.com]
gtk+-2.10.14: Config [pastebin.com]
pango-1.12.4: Config [pastebin.com]
Source code:
atk-1.9.1.tar.gz [ftp.gnome.org]
cairo-1.4.12.tar.gz [cairographics.org]
glib-2.12.13.tar.gz [ftp.gnome.org]
gtk+-2.10.14.tar.gz [ftp.gnome.org]
pango-1.12.4.tar.gz [ftp.gnome.org]
What was stripped:
- C headers ('.h'). [comments]
- m4 macros used by aclocal ('.m4') [comments]
- libtool library files ('.la') [comments]
- bash and perl scripts [comments]
- pkgconfig files ('.pc') [empty lines]

(2)
libwxgtk2-dev.unc (unstripped) -- Size: 780K
libwxgtk2-dev.unc (stripped) -- Size: 368K
Contents and configuration:
wxGTK-2.6.4: Config [pastebin.com]
Source code:
wxGTK-2.6.4.tar.gz [downloads.sourceforge.net]
What was stripped:
- C++ headers ('.h') [comments]
- m4 macros used by aclocal ('.m4') [comments]
- bash scripts [comments]
- XML files ('/usr/local/share/bakefile/presets/*.bkl') [XML-style comments]
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 08 2007,17:53 QUOTE

Quote (stupid_idiot @ Dec. 08 2007,12:41)
Quote (john.martzouco @ Dec. 08 2007,19:43)
If it's for the tarball sizes (uci sizes), how much difference does it make after compression?  An unstripped xyz is how much bigger than a stripped xyz after it's compressed?

For example (based on what I am working on):
(1)
gtk2-dev.unc (unstripped) -- Size: 516K
gtk2-dev.unc (stripped) -- Size: 240K

These are all uncompressed numbers, yes?
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Dec. 08 2007,18:01 QUOTE

Sorry John, I neglected to mention those are COMPRESSED numbers.
Uncompressed sizes:
(1)
(directory) gtk2-dev/ (unstripped) -- Size: 3612K / 3.6M
(directory) gtk2-dev/ (stripped) -- Size: 2548K / 2.5M
(2)
(directory) libwxgtk2-dev/ (unstripped) -- Size: 4428K / 4.4M
(directory) libwxgtk2-dev/ (stripped) -- Size: 3060K / 3.0M

This command was used to make the '.unc' extensions:
Code Sample
mkisofs -R -hide-rr-moved -cache-inodes -pad <directory>/ | create_compressed_fs -m -B65536 -L9 -v - <foo>.unc
(BTW, I use 'miso' as a bash alias for 'mkisofs -R -hide-rr-moved -cache-inodes -pad'.)
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 09 2007,14:37 QUOTE

Quote
An unstripped xyz is how much bigger than a stripped xyz after it's compressed?
There's really no way to give you even an approximate reduction amount for "xyz", since it depends mostly on the amount of commenting the author did. All that can be done is give examples of what the reduction is for a specific package, as stupid_idiot did with gtk


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
23 replies since Dec. 07 2007,12:41 < Next Oldest | Next Newest >

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

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: Recursive-strip C comments

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