Image Album
News
Donate via PayPal

downloads/filesystems/xad_fs.lha

Back to file index

Short:        Filesystem for mounting archive files
Author:       Fredrik Wikstrom
Uploader:     Fredrik Wikstrom <fredrik a500 org>
Type:         disk/misc
Version:      52.7
Architecture: ppc-amigaos
Download:     filesystems/xad_fs.lha

Installation:

Copy XADFileSystem L:
Copy MountXAD SYS:C/
Copy def_XAD0.info ENVARC:Sys/

Usage:

MountXAD <archive file>

After you are done with the archive file, unmount it with the Dismount command:

Dismount XAD0:

Or use MountXAD with DISMOUNT switch:

MountXAD <archive file> DISMOUNT

If you mount more than one archive at the same time the second one will use the
device name XAD1: and the third XAD2: and so on.

XADFileSystem unarchives files as they are accessed into a temporary directory.
By default this is placed in T: which is usually in RAM: so if you're going to
be using XADFS on archives with lots of big files you should consider pointing
this to a directory on your harddrive. This can easily be done with SetEnv
command:

SetEnv SAVE XADFS_TEMP_DIR <temp directory>

F.e. to make XADFS store temp files in DH1:Temp just type:

SetEnv SAVE XADFS_TEMP_DIR DH1:Temp

Changes:

52.7 (16-Sep-2010)
 - Removed the need for setting up an array of filesystem objects in
   GenerateDirTree() function

52.6 (15-Sep-2010)
 - MountXAD can now be used as a default tool for icon archives and will mount/
   dismount archives when they are double-clicked (set "Default tool: MountXAD"
   and "Start from: Workbench")

52.5 (14-Sep-2010)
 - The following packets now also return with ERROR_DISK_WRITE_PROTECTED:
   ACTION_FORMAT, ACTION_RENAME_DISK, ACTION_DELETE_OBJECT,
   ACTION_RENAME_OBJECT, ACTION_SET_PROTECT, ACTION_SET_COMMENT,
   ACTION_SET_DATE
 - XADFS now uses Exec's AVL functions for it's binary trees
 - Fixed memory leak when freeing the directory tree structure (filenames
   weren't freed previously)

52.4 (12-Sep-2010)
 - ACTION_FINDOUTPUT, ACTION_FINDUPDATE, ACTION_SET_FILE_SIZE and ACTION_WRITE
   now all return with ERROR_DISK_WRITE_PROTECTED
 - XADFS now extracts any files with unknown size in order to get this
   information
 - Now clears the dn_Startup field on startup so that WBInfo doesn't try to
   interpret it as a struct FileSysStartupMsg anymore

52.3 (5-Sep-2010)
 - MountXAD doesn't leave devicenodes lying around anymore if mounting the
   archive fails (also the "insert disk" requesters are now disabled)
 - XADFS doesn't fail any more if the XAD<n> directory inside XADFS_TEMP_DIR
   already exists

52.2 (5-Sep-2010)
 - ParsePath function now always ignores everything before the first colon
   character (apparently this is all handled by dos.library)
 - Now sends IECLASS_DISKINSERTED/IECLASS_DISKREMOVED events on mount/unmount
 - MountXAD now checks if an archive is already mounted before calling
   MountDevice and returns with an error if it is
 - Added DISMOUNT switch to MountXAD for unmounting an archive file

52.1 (4-Sep-2010)
 - First released version
Copyright © 2012 Fredrik Wikström (fredrik at a500 dot org)