johnsone@uxh.cso.uiuc.edu (08/08/90)
I have several "sound" files that have the sound stored in the data fork while the resource fork held some miscellaneous stuff that was unneeded for playing the sound. So I used ResEdit to delete the resources. Strange thing is that the file did not shrink in over-all size. It still registers as having about 3K of space for the resource fork. I've tried Apple's "Disk First Aid" and nothing changes. Any thoughts? Thanks. Erik A. Johnson, Graduate Student \ Internet: johnsone@uxh.cso.uiuc.edu Aeronautical & Astronautical Engineering \ University of Illinois at Urbana-Champaign \
lsr@Apple.COM (Larry Rosenstein) (08/09/90)
In article <95200003@uxh.cso.uiuc.edu> johnsone@uxh.cso.uiuc.edu writes: > >So I used ResEdit to delete the resources. Strange thing is that the file did >not shrink in over-all size. It still registers as having about 3K of space >for the resource fork. A resource fork that contains no resources still contains the resource map and header. So the resource fork won't be completely empty. The reason is takes 3K of disk space is that disk space is allocated to files in chunks. The chunk size is set when the volume is formatted. A small chunk size means there are more chunks to keep track of (there's probably some absolute limit on the number of chunks); a large chunk size means that some disk space is wasted. To delete the resource fork entirely you probably need a special utility. MPW's duplicate command, for example, can be used to duplicate only the data fork. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 46-B Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr