home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20329 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  2.4 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!claris!outpost.SF-Bay.org!peirce
  2. From: peirce@outpost.SF-Bay.org (Michael Peirce)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Uniquely identifying a Mac? How?
  5. Message-ID: <D2150035.lv3p43@outpost.SF-Bay.org>
  6. Date: 25 Dec 92 00:00:36 GMT
  7. Reply-To: peirce@outpost.SF-Bay.org (Michael Peirce)
  8. Organization: Peirce Software
  9. Lines: 43
  10. X-Mailer: uAccess - Macintosh Release: 1.6v1
  11.  
  12.  
  13. In article <01050023.lbu8j5@chinchilla.cars.com> (comp.sys.mac.programmer), niel@cars.com (Niel Bornstein) writes:
  14. > In article <9235010.4295@mulga.cs.mu.OZ.AU> (comp.sys.mac.programmer), mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
  15. > >We are looking for a way to uniquely identify a Mac, probably one on a network,
  16. > >but not necessarily. Is the serial number or similar available somewhere in the
  17. > >ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  18. > >reset)
  19. > How about the AppleTalk address?  I know, they are assigned dynamically,
  20. > but if the network is mature it will stabilize.  Are machines being
  21. > added to or taken off the network a lot?  
  22.  
  23. If you have PowerBook users, there very well may be many machines
  24. coming and going from your network on a regular basis.  
  25.  
  26. You might take the approach that Apple used with Aliases.  They store
  27. a number of tidbits of information when trying to track a file (things
  28. like name, location on a volume, create date, etc) and use a number
  29. of rules to figure out if that file out there that looks like the
  30. one we want is *really* it.
  31.  
  32. You might use something like a combination of AppleTalk address, user
  33. name, machine name, machine type, boot volume create date, etc.
  34.  
  35. Then you use some rules like:
  36.  
  37. (1) if only AT address changed, figure it's the same machine as yesterday.
  38. (2) if only user name changed, figure it's the same machine asas yesterday. 
  39. (3) if only the boot volume create date changed,  figure it's the same machine as yesterday.
  40. (4) etc.
  41.  
  42. If you are careful in how you choose these variables and rules you
  43. will probably do OK.  You still may want to through up your hands
  44. every now and ask the user (as they do with Aliases).
  45.  
  46. Good luck...
  47.  
  48. --  Michael Peirce      --   peirce@outpost.SF-Bay.org
  49. --  Peirce Software     --   Suite 301, 719 Hibiscus Place
  50. --                      --   San Jose, California USA 95117
  51. --  Drop by booth #4463 --   voice: (408) 244-6554 fax: (408) 244-6882
  52. --  at MacWorld Expo/SF --   AppleLink: peirce & America Online: AFC Peirce
  53.