Copyright 2004 by M. Uli Kusterer Fri, 29 Nov -1901 11:06:32 GMT Comments on article blog-how-os-x-saves-disk-names at Zathras.de http://www.zathras.de/angelweb/blog-how-os-x-saves-disk-names.htm blog-how-os-x-saves-disk-names Comments witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) en-us Comment 2 by Qwerty Denzel http://www.zathras.de/angelweb/blog-how-os-x-saves-disk-names.htm#comment2 http://www.zathras.de/angelweb/blog-how-os-x-saves-disk-names.htm#comment2 Qwerty Denzel writes:
I too have wondered how this works, since it not only has to draw the text, images, and the transparent graphics, but it also has retrieve the icons and names somehow for the volumes.

Surely what's even stranger is that it is using a font that you put it your user library, not the system or 'local' ones.
Comment 1 by Drew Thaler http://www.zathras.de/angelweb/blog-how-os-x-saves-disk-names.htm#comment1 http://www.zathras.de/angelweb/blog-how-os-x-saves-disk-names.htm#comment1 Drew Thaler writes:
The OS renders the disk name into an image. /usr/sbin/bless --label is one way to change it. The code to do it is even available in Darwin:

http://www.opensource.apple.com/darwinsource/10.5.2/bless-63/libbless/Misc/BLGenerateOFLabel.c