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