|
CONTENTS Home Projects Electronics Graphics Java Java Mobile Other Stuff Resume Music Links To Friends Pictures About Mike Contact |
Amiga Fast File System Explorer (affs)Related pages on www.mikekohn.net: anal_pe, anal_elf, dump_fat, amiga_explorer Introduction Amiga Explorer is a program that can read Amiga Fast Filesystem (AFFS) disk images and recover files off of them. So my main computer I used through the 1990's was an Amiga 4000. Actually, this was the first computer I installed Linux on even. I haven't used the computer in a while since I think there is a problem with the keyboard (I still need to order either a new keyboard off ebay or one of those PS2 to Amiga adaptors). So anyway, I thought there might be files I wanted on the two 1.2 GB harddrives I installed in there, so I pulled them out, put them in harddrive sleds, booted the Gentoo x86 live cd, and typed: dd if=/dev/sda of=/nfs/amiga1.img bs=512 ... or some such similar command to dump the harddisk over my network safely onto another computer. So Linux is supposed to be able to mount AFFS images (yes I included Amiga partition support), but when I tried to mount it I kept getting the error "AFFS: No valid root block on device loop0", so I started writing Amiga Explorer. So Amiga explorer can dump the partitions so they can be mounted with Linux, plus it can cd into directors, get listings, and copy files off the Amiga partition into Linux. An example of how to copy a partition so you can mount it on Linux:
dd if=/dev/sdb of=amiga.img bs=512 If you need help with this program, find bugs, or find it useful and just want to let me know someone else is using this, feel free to drop me an email (address is listed below). Screenshot
Features
The last feature I plan to add is a mirroring feature so that every file/directory on a partition can be recursively copied to the local disk like with cp -r on Unix. Soft and hard links are not supported at this time and probably won't be. How To Use If you downloaded the source code for Unix, make sure you have a C compiler (such as GCC) installed. Untar the archive and type: make So I guess the first step is to dump the image of the harddrive. This can be done with a command similar to the "dd" command I used above. After dumping the image type: ./amiga_explorer /path/to/image/image.img You'll now be greeted with a prompt. Typing help will give a list of commands. The first think you'll probably want to do is see what the volume names are on the image. Type: show partitions Now you can cd into that volume with a simple cd command: cd hd1:
for example. From there you can type dir or ls to get directory listings,
cat This program is in BETA condition. I pretty much threw it all together in about a day as quickly as I could so there are a couple quirks in there plus the source code is a little goofy at some points. Use it your own risk. Special thanks to this website http://lclevy.free.fr/adflib/adf_info.html for having the info I needed to write this program. Download
amiga_explorer-2009-11-29.tar.gz (Unix/Linux Source Code)
Copyright 1997-2010 - Michael Kohn
This page was designed to work with all standard HTML compatible web browsers including Firefox, IE, Safari, and Links. |