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

Re: help! how to remove "block in use"



In article <Cr1z72.B52@usenet.ucs.indiana.edu>, jorrill@bronze.ucs.indiana.edu (jason david orrill) writes:
|> I started getting errors accessing one of my directories tonight, and am
|> baffled at how to fix it.  Running the ProSel 16 Volume Repair "Test
|> directory structure" I got the following message:
|> 
|> /cms2/music/finished/on.tape_____41 <-Block in use
|>     \____________________________Directory skipped
|> 
|> I checked the ProSel manual and all it says is that it won't fix this
|> type of error, and that one block is being shared by two files (?)  So,
|> how the heck do I fix it?  As it stands I can't do _anything_ with this
|> subdirectory.

If you have a backup for "/cms2/music/finished/on.tape", you can do
the following:
1. Goto the ProSel Utilities and choose "S" (sort directory)
2. When you are prompted for a pathname, type "/cms2/music/finished/"

Now the files of /cms2/music/finished/ should show up.

3. Hilight "on.tape".
4. Press <OA>-<right arrow> until "on tape" is at the end of the list.
5. Press <OA>-<Delete>.

Now "on.tape" should have disappeared from the list.

6. Write the directory to disk.
7. Go into the Volume Repair and fix "/cms2/music/finished/". There
   should now be only errors that can be fixed. (Wrong file count, Free
   blocks marked used,...)
8. Restore "on.tape" from your backup.

I don't know if the above works on a HFS volume, but I know it works
on a ProDOS volume. I've done this many times.
 
|> Jason
|> 
|> jorrill@ucs.indiana.edu

Regards,

Stefan Voss
(voss@ira.uka.de)