Re: [netatalk-admins] HFS volumes and the volume icon


Subject: Re: [netatalk-admins] HFS volumes and the volume icon
From: PayPC System Mail Subscriber (spammail@quanta.paypc.com)
Date: Thu Oct 01 1998 - 23:25:59 EDT


Robert Abatecola said in Re: [netatalk-admins] HFS volumes and the volume
icon at 02/Oct/1998 (Fri) 09:14:33.

> For System 7 and later volume and folder icons are stored in invisible
> resource files named "Icon" at the root level of the volume or folder. You
> can use ResEdit to open these files and edit the icons directly.

Close! It's actually "Icon\r" (yes, that's Icon[return]) -- Apple doesn't
like creating invisible files on peoples' filesystems normally, since it
would generate bizarre "this file already exists" even though that file
wouldn't be visible. So they use a file for icons that you could never
generate (with existing file entry UIs): a name with a carriage return in it.

Also, I believe, the directory entry needs to have the "custom icon" bit set
as well. It's possible to have the file there, but the custom icon bit off
(which would properly NOT display the icon) -- the finder doesn't present you
with UI to permit this (since clearing the icon also zaps the file).
Norton's Disk Doctor interprets the existing of custom icons w/o the bits set
as a warning level "problem" which it fixes by setting the custom bit state
according to the existence state of the custom icon entry.

Whew!

=Rob=



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:22 EST