[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knifing a Resource Fork



In article <29rotb$omb@news.ysu.edu> ag471@yfn.ysu.edu (Eric S. Ford) writes:
> 
> In a previous article, dempson@swell.actrix.gen.nz (David Empson) says:
> 
> >There is no way to directly delete the resource fork from a file
> >(without bypassing GS/OS and doing direct block accesses, which is not
> >a good idea) - it can only be done by copying the data fork to another
> >file.
> 
> Isn't this what HFSLink does (copy the data fork to a new, non-forked file)?

Yes, but you are talking about a completely different process - a
ProDOS-8 program copying data from an HFS disk.  It has no option
other than to directly read blocks from the disk and interpret the
directory structure.

Under GS/OS, you don't do that sort of thing (in fact, you cannot do a
block write call on a volume which has any open files).

I was talking about deleting the resource fork from a file on a ProDOS
volume, under GS/OS.
-- 
David Empson                                                               
dempson@swell.actrix.gen.nz                                                
Snail mail: P.O. Box 27-103, Wellington, New Zealand