home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / disk / misc / vdisk / vdisk.doc < prev    next >
Text File  |  1994-12-29  |  13KB  |  284 lines

  1. $VER: vdisk.doc 2.5 (29.12.1994)   (C) 1994 by Etienne Vogt
  2.  
  3.  
  4. INTRODUCTION
  5.  
  6.  vdisk.device is a driver for a recoverable RAM disk. It started 2 years ago as
  7. a hack of ASDG-RAM (written by Perry S. Kivolowitz). These hacked versions 
  8. (1.3 -> 1.12) were not distributed.
  9.  As of version 2.0, it has been entirely rewritten, with many new features added :
  10.  
  11.  - Up to 16 units with virtually unlimited size (512 MB)
  12.  - Dynamic memory allocation and (optionnaly) deallocation
  13.  - Full support of all AmigaDOS Filesystems.
  14.  - Will survive the heaviest system crashes as long as its own data is not 
  15.    corrupted.
  16.  - In case of a recovery failure, the cause can be reported by a support command.
  17.  
  18.  VDisk requires AmigaDOS 2.04 or higher (V37). It has been heavily tested on
  19. the following configurations :
  20.  
  21.  - A500 68000 ECS , 1 Mb Chip 2 Mb Fast , WB 2.04 -> 3.1
  22.    20 Mb IDE-XT + 170 Mb SCSI HDs
  23.  - A3000 68030 ECS, 2 Mb Chip 8 Mb Fast , WB 2.04 -> 3.1
  24.    100 Mb + 1 Gb SCSI HDs
  25.  - A500 68040(PP&S) ECS , 1 Mb Chip 2 Mb Fast16 8 Mb Fast32 , WB 2.04
  26.    50 Mb SCSI HD
  27.  - A4000 68040 AGA, 2 Mb Chip 8 Mb Fast , WB 3.0
  28.    120 Mb IDE HD
  29.  
  30.  VDisk has been developed independently from StatRam (Another ASDG-RAM based
  31. ram drive written by Richard Waspe and Nicola Salmoria)
  32.  
  33.  
  34. DISTRIBUTION
  35.  
  36.  VDisk is Freely Distributable Copyrighted Software (FreeWare).
  37.  Some restrictions from the original ASDG-RAM package remains :
  38.  
  39.  This package :
  40.  
  41.  - Must be copied only in the form of the original lha archive, as uploaded
  42.    to aminet by the author.
  43.  - May not be distributed by any commercial software or hardware vendor.
  44.  - May not be sold under any guise.
  45.  - Must contain the following copyright information.
  46.  
  47.    vdisk.device, Copyright 1994 by Etienne Vogt.
  48.    Inspired from asdg.vdisk.device, Copyright 1987 by Perry S. Kivolowitz
  49.     (ASDG Incorporated)
  50.  
  51.  Specifically :
  52.  
  53.   No maker or seller of Amiga expansion hardware or software may distribute
  54.  this software in any way. No reseller of public domain software may
  55.  distribute this software either (as this in NOT in the public domain).
  56.   The only acceptable means of distribution is by networks, bbs's and by
  57.  non-profit user groups. Distribution MUST BE FREE (except for media
  58.  costs plus a token amount covering only shipping and handling).
  59.  
  60.  Fred Fish is explicitely allowed to include this package in his AmigaLibDisk
  61.  collection (either on floppy disk or on CD-ROM), as is the aminet group for
  62.  their Aminet CD-ROM.
  63.  
  64.  
  65. DISCLAIMER
  66.  
  67.  This software is provided "as is" without any warranty, either expressed or
  68. implied. By using this software, you accept the entire risk as to its quality
  69. and performance.
  70.  
  71.  
  72. INSTALLATION
  73.  
  74.  - Copy the file 'vdisk.device' to your DEVS: directory .
  75.    NEVER CHANGE THE NAME OF THIS FILE !!!
  76.  
  77.  - Copy the support commands CleanRamDisk, DeleteRamDisk, VDStat to your
  78.    C: directory or whatever you like. You may also copy the .info files.
  79.  
  80.  - If you have OS 2.1 or higher, copy the file VD0 to your DEVS:DOSDrivers
  81.    directory. You may change the name of this file to whatever you want.
  82.    You may edit this file to change some parameters of the recoverable RAM
  83.    disk, such as its maximum size. (see below)
  84.  
  85.  - If you have OS 2.0 , join the file VD0.mountlist to your DEVS:MountList
  86.    file. You may change the name of the mountlist entry to whatever you want.
  87.    You may also edit the mountlist record to change some parameters of the
  88.    recoverable RAM disk (see below). Make sure you do not have another
  89.    entry with the same name in your mountlist (especially if you use the
  90.    old asdg-ram).
  91.    Add a 'Mount VD0:' command to your S:User-Startup. If you have 1 Mb or
  92.    less memory, it may be wise to put this command at the beginning of your
  93.    Startup-Sequence to minimize the risk of recovery failures.
  94.  
  95.  - If you still have OS 1.x, well... It's time to upgrade !
  96.  
  97.  - After that, reboot your Amiga. If all is OK, you should see an icon named
  98.    VD-RAM-00 on your Workbench.
  99.  
  100.    NOTE : If you are upgrading from an earlier version of vdisk.device, you
  101.           *MUST* issue a 'DeleteRamDisk' command on all active units before
  102.           rebooting the system, or unexpected things may happen.
  103.           See the support commands below.
  104.  
  105.  
  106. CHANGING MOUNTFILE PARAMETERS
  107.  
  108.   WARNING : Changing any other MountFile parameter than those listed below will
  109.             cause the vdisk.device to cease to function and to wake up the
  110.             GURU with recoverable alert number $50000005 !
  111.             After changing ANY parameter of an already active unit, you MUST
  112.             issue a 'DeleteRamDisk' command on it before rebooting the system,
  113.             or unexpected things may happen.
  114.  
  115.  - DOS device name : Unlike the original asdg.vdisk.device, you can give any
  116.    name you want to the recoverable RAM disk. Just change the name of the
  117.    mountfile (OS 2.1+) or the mountlist entry (OS 2.0). The default name is
  118.    VD0 . It is recommended that the last character be a digit equal to the 
  119.    unit number.
  120.  
  121.  - Unit : This is the device unit number. You can have several recoverable
  122.    RAM disks by having different mountfiles with different values for this
  123.    keyword. Valid numbers are 0 to 15, giving a possible total of 16 units.
  124.  
  125.  - Flags : Different options may be selected here. At this time, you have 
  126.    only one option.
  127.    A Flags value of 1 will enable autocleaning on the corresponding unit.
  128.    This means that the memory used by the ram disk will automatically decrease
  129.    when you delete files in it. This also implies that you cannot use tools
  130.    like DiskSalv to recover the deleted files.
  131.    A Flags value of 0 disables autocleaning. You must then use the CleanRamDisk
  132.    support command to free memory after deleting files. Cleaning may still
  133.    happen if the system runs low on memory.
  134.    It is recommended that you keep AutoCleaning enabled.
  135.  
  136.  - HighCyl : This is used to specify the maximum size the recoverable RAM disk
  137.    is allowed to use. When this size is reached, you will get a 'Volume is full'
  138.    requester. Note that unlike RAD, vdisk.device does only allocate memory when
  139.    you write files into it.
  140.    Do not set this too high ! If you run out of memory before reaching the
  141.    maximum size of the RAM disk, you will get a 'write error' requester and
  142.    the files in the RAM disk might become corrupt !!!
  143.    The recommended maximum size is one fourth of your total FAST RAM.
  144.    The HighCyl parameter must be set to an ODD VALUE. HighCyl + 1 is the total
  145.    number of 'virtual tracks' usable by the RAM disk. One virtual track has
  146.    a size of 8 Kb (16 sectors of 512 bytes).
  147.    The default HighCyl value of 63 thus corresponds to a maximum size of
  148.    (63 + 1) * 8 = 512 Kb. For a 2 Mb RAM disk, you will set HighCyl to 255.
  149.    The maximum allowed value is 65533. This corresponds to 512 Mb.
  150.    Remember this value *MUST* be odd !
  151.  
  152.  - Buffers : This is the number of buffers used by the File System to speed up
  153.    disk accesses. With a RAM disk, it may actually slow it down, so you'd
  154.    better not change this.
  155.  
  156.  - BufMemType : Strictly speaking, this is the type of memory used by the
  157.    File System for its internal buffers. For vdisk.device, is also affects
  158.    the type of memory allocated to store data you write into it.
  159.    Useful values are 1 (any memory), 3 (only CHIP memory, not recommended !)
  160.    and 5 (only FAST memory, the default).
  161.    If you have both 16 bit and 32 bit FAST memory, and you want to use the
  162.    16 bit memory first for the RAM disk, set BufMemType to 517.
  163.  
  164.  - DosType : The type of File System used. Possible values are :
  165.     0x444f5300 : Old File System. Slow and not really needed since vdisk.device
  166.                  has its own checksums.
  167.     0x444f5301 : Fast File System. The default.
  168.     0x444f5302 : International Old File System. OS 2.1 + only.
  169.     0x444f5303 : International Fast File System. OS 2.1 +
  170.     0x444f5304 : Directory Caching Old File System. OS 3.0 +
  171.     0x444f5305 : Directory Caching Fast File System. OS 3.0 +
  172.    International mode may be used if you run OS 2.1 or higher. Directory Caching
  173.    is not a good idea since it will slow down the RAM disk.
  174.  
  175.  - Activate : Instructs the mount command to start the device immediately when
  176.    set to