home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / apps / 8234 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  2.0 KB

  1. Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
  2. From: ochealth@unixg.ubc.ca (ochealth)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: Re: CPYINI - great utility !
  5. Date: 13 Nov 1992 19:55:17 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 35
  8. Message-ID: <1e1175INNsph@iskut.ucs.ubc.ca>
  9. References: <4582@drsrv1.hmi.de>
  10. NNTP-Posting-Host: unixg.ubc.ca
  11.  
  12. In article <4582@drsrv1.hmi.de> pfr@drsrv1.hmi.de (Fritsch_Wolfgang) writes:
  13. :
  14. :I tried cpyini (extracted as cpyini.zip from hobbes) and found that it
  15. :reduced the size of my os2system.ini file from above 1M to about 120k.
  16. :Counting the backup copies this leads to about 4M space savings on my
  17. :hard disk, and also to smaller time for boot. 
  18. :
  19. :I think that this utility belongs into the FAQ list, under the topic
  20.  
  21. Yes. Crap seams to get lost in the system.ini files and cpyini only copies
  22. valid entries, leaving the garbage behind. At least this is waht happens on
  23. my system (bug: mine wentup to 4 megs. I've heard as high as 5 megs). This
  24. isn't from dead space (as some have suggested) or from too many progams
  25. adding entries (unlikely given the number of WPS aware apps).
  26. :"smart tricks" ! 
  27.  
  28. There is supposed to be a system API to access these files (to prevent
  29. bogus entries or conflicts) but I can't believe who SLOW it is to access
  30. the ini files. Just look at how long cpyini (or another program inicopy)
  31. take to copy the file! You'd think that the system call would have some
  32. kind of smart search tree for accesssing this file, esp. since its a database
  33. with keys and records; most databases are better at searching and copying.
  34.  
  35. No wonder WPS takes so long to start up if it has to go through this bottleneck.
  36.  
  37. :
  38. :Wolfgang Fritsch
  39. :pfr@psun2.hmi.de
  40.  
  41.  
  42. -- 
  43. ______________________________________________________________________________
  44. jpm: ochealth@unixg.ubc.ca         
  45.                             Happily using OS/2 2.0 because MS Windows isNT ___
  46.                                                       Insert VapourFeature ^^^
  47.