Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!enea!tut!santra!jmunkki From: jmunkki@santra.UUCP (Juri Munkki) Newsgroups: comp.sys.mac.programmer Subject: Please Help: Used Blocks on Disk Keywords: SCSI, AppleTalk, Help Message-ID: <15732@santra.UUCP> Date: 29 Aug 88 07:55:37 GMT Organization: Helsinki University of Technology, Finland Lines: 24 Last week I wrote a program that copies the contents of a hard disk from one machine to a group of others in the appletalk network. Using this program, you can update a whole classroom of computers without having to manually copy the files from a disk or file server. There are still some problems I'd like to solve and I haven't found all the answers yet. The worst thing about my program is that it copies every single block, even unused blocks. The second problem is that I couldn't find a reliable way to find the size of the disk. Optimally, I'd like to have a subroutine that takes the current block number as a parameter and then returns the next used block number and the number of following used blocks. I would also like to know the official way to find out a disk's ioRefNum and ioVRefNum. If I get some useful help from the net, I'll clean up the program, write a user interface and manual and make it public domain. I might even make the sources public domain... Juri Munkki jmunkki@santra.hut.fi jmunkki@fingate.bitnet