pugh@cornell.UUCP (William Pugh) (02/08/85)
I need some help with a program I am writing. From within an application, how can I find out what volume the current system file is on. (I have IM). There is a command to find out the default volume, but this is not the same as the drive the current system file is located on. I need to know how much space is availible on the system disk. For those interested, I am working on a much improved font mover utility, and one of the things I want to have it display is the amount of space availible on the system disk. Now that I am getting into it, I am rather suprised at how poorly Apple's Font Mover program is written. In addition to the problem that it can't handle font numbers greater than 256, it also runs very slowly because it (apparently) does not use the SetResLoad() to prevent the Resource Manager from loading a font when it only wants to know the name or size of the font. It seems like Apple could really have improved the Font Mover by putting in about one more day worth of work on the Font Mover. Anybody know why they didn't? At any rate, in addition to running faster and handling all font numbers, my font mover will allow you the open multiple font files during one execution (although not at once), display more sample text, and let you rename and renumber fonts. However, due to the amount of work I have put into this (22 pages of C code and climbing) it is not going to be public domain. It will be a part of the Quick and Dirty Utilities Disk#1 by Dreams of the Phoenix (sp?), to be out sometime next month. Bill Pugh Cornell University