PDA

View Full Version : MADos packaging question...



cjard
08-01-2004, 07:27 PM
when i say mados, i'm talking about cygwin..

extracting mados to some drive, and looking in the cygwin folder, i see there is a tmp folder that contains some things.. notably, it contains 2 temp files that are over 10 megs in size, one of them a WAVE file, the other full of ascii-formatted hex numbers (string literal "0x01" to "0xff")

Im curious to know the purpose.. isnt tmp normally full of junk? I compressed jsut the tmp folder on ZIP:best and it still comes to 12 megs. if it isnt necessary, then the contents should be removed; it will save Kontact some bandwidth and make it less of a choker for modem users....

BOEBOE
08-01-2004, 10:01 PM
Normally tmp is indeed a Temporary directory and you're right, you (normally) need this...

As a test I've deleted the tmp dir, but Cygwin wouldn't run anymore...

So you need it

cjard
09-01-2004, 01:54 PM
Naturally.. Cygwin is an OS in itself, so it needs space for temp stuff.. But as a quick test, i deleted all the stuff in tmp, with the exception of the OCDemon folder (it looked to contain some interesting things; not normal garbage), and cygwin still runs. As a further curiousity, i packed it witn winrar, as a solid sfx archive, and it came to 25 megs... a bit more swallowable than 35 :)

Would you repeat my steps, but additionally try to do everything related to mados? edit/compile it.. that way we can know for sure that those files in tmp arent needed

there looks to be much scope for other optimisations to the shell, actually.. im going to freshly reinstall it, and touch everything to a recent date. COuld you give me a list of things to do that every mados user/developer would want to do, and i will carry out the actions and remove all files that have not beena ccessed since being touched? i reckon this distro could end up at less than 10 megs, maybe even 5 :) - i mean.. theres a full install of java 1.42 in there, and i doubt that's used.. well the runtimes for that arent light, i can tell you! :)

wumpus
14-01-2004, 03:05 PM
Yeah I seriously doubt the java runtime is being used (at least the compile.sh doesn't use it), the cygwin distribution can probably be tuned down a lot.

Though it should be a one time (or at least -- very rare) download anyway as updating is done though CVS.