Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!apple!AppleLink.apple.com!Greg From: Greg@AppleLink.apple.com (Greg Marriott) Newsgroups: comp.sys.mac.programmer Subject: Re: Where is the SCSI icon? Message-ID: <10417@goofy.Apple.COM> Date: 26 Sep 90 08:13:51 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 19 References:<3928@tellab5.tellabs.com> <13823@netcom.UUCP> In article <13823@netcom.UUCP> allanh@netcom.UUCP (Allan N. Hessenflow) writes: > In article <3928@tellab5.tellabs.com>, kenk@sunHd.tellabs.com (Ken Konecki) writes: > > Where does the Mac keep the icons for the hard disk? > It's in the SCSI driver for that disk [...] > [...] I've seen an init out there somewhere > that changes the icon; I assume it does this by calling the driver to get > a pointer to the icon and then copies the new icon on top of it. Almost right. Facade (which I wrote) intercepts the Finder's (or anyone else's) _Control call to the driver to ask for the icon, and then lies to the caller. Facade keeps a dictionary of icons (keyed by name), and points to the appropriate icon data in the dictionary depending on the name of the volume being queried. Greg Marriott Just Some Guy Apple Computer, Inc.