home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25055 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!rpi!batcomputer!cornell!uw-beaver!cs.ubc.ca!news.UVic.CA!sanjuan!pmacdona
  3. From: pmacdona@sanjuan (Peter MacDonald)
  4. Subject: Re: SLS: how do we know we've caught up ?
  5. Message-ID: <1993Jan22.035103.21040@sol.UVic.CA>
  6. Sender: news@sol.UVic.CA
  7. Nntp-Posting-Host: sanjuan.uvic.ca
  8. Organization: University of Victoria, Victoria B.C. CANADA
  9. References: <1993Jan20.235409.201@victrola.sea.wa.us>
  10. Date: Fri, 22 Jan 93 03:51:03 GMT
  11. Lines: 40
  12.  
  13. In article <1993Jan20.235409.201@victrola.sea.wa.us> vince@victrola.sea.wa.us (Vince Skahan) writes:
  14. >Linux, and SLS, are moving targets.  That's probably 'A Good Thing' but it
  15. >certainly is getting more and more frustrating.
  16. >
  17. >It's struck me with all the changes in SLS over the months and especially
  18. >recently that there's a need for a way to let us know which version of SLS
  19. >we have installed...that way, if we have questions, the first thing to 
  20. >mention after the kernel version would be the version of the package we're
  21. >having trouble with. 
  22. >
  23. >For example, did I get the latest menus.tpz ?  Or am I one version behind
  24. >with a bug (that's fixed in the current version) lurking to get me ?  Or am
  25. >I several versions behind ?
  26. >
  27. >Maybe a flat file stashed somewhere under /install is needed that has all the
  28.  
  29. Actually, currently there really isn't a "version" of SLS.  Instead, each
  30. package can be updated without notice.
  31.  
  32. What was just added to SLS is that, everytime you install a disk, it
  33. updates a file in /install/disks/diskXN with the package name, and
  34. the size in bytes of the package.  Thus you can always tell if the
  35. package you installed is the same size as some other one.  And thus,
  36. with 99.9% certainty, you should be able to tell if you have the
  37. same package.
  38.  
  39. Now this by itself is of marginal value, but I plan on implementing a
  40. (bash) script that will drive an automatic updating scheme based upon
  41. this information.  Thus the "version" of SLS will be the sum of all
  42. these sizes.  ie, it can determine the current version, and update
  43. accordingly.
  44.  
  45. This scheme is not bullet proof, but exacts nearly zero overhead, and
  46. in practice should be quite reliable.  And, most important of all, doesn't
  47. exact any extra administrative overhead.  It also has the advantage that
  48. you can always find which disk a package is on by doing:
  49.  
  50.     fgrep pkg.tpz /install/disks/disk*
  51.  
  52. Peter
  53.