home *** CD-ROM | disk | FTP | other *** search
- /* ramdisk.device has a maximum of 2048 blocks. It supports units 0 through
- 31 with flags:
-
- 1 - Recoverable. Data is preserved.
- 2 - Formatable and Diskcopyable. You can diskcopy to this drive.
- Note - Even though RamDisk is intelligent and will deallocate
- memory for unused tracks, a format or diskcopy will force
- the entire disk to be copied to memory before the deallocation
- starts. This is guarinteed to fragment memory.
- 4 - AutoBoot. Can boot from this drive. If this flag is set,
- then the disk is remounted automatically on warm boot.
- NOTE - Does Not Work with fastfilesystem. You will still have
- to mount devices which do not boot to DOS. Also, if BootPri
- is set higher than other devices, DOS will boot from this
- drive.
-
- For instance, to set up a disk which is both recoverable, and also is
- automatically mounted on warmboot use:
-
- 1 (Recoverable) + 4(AutoBoot) = 5
-
- RamDisk uses the bitmap to deallocate unused sectors. Therefore, non-
- AMIGA disks cannot be copied to RamDisk.
- */
-
- /* Our boot disk. */
-
- Boot:
- Device = ramdisk.device
- Unit = 0
- Flags = 7
- Surfaces = 2
- BlocksPerTrack = 11
- Reserved = 2
- Interleave = 0
- LowCyl = 0 ; HighCyl = 79
- Buffers = 1
- BufMemType = 5
- Mount = 1
- BootPri =127
- Priority = 5
- #
-
- /* non-recoverable ram disk for lots of intermediate stuff.
- Use this for fast DiskCopy's */
-
- Disk:
- Device = ramdisk.device
- Unit = 3
- Flags = 6
- Surfaces = 2
- BlocksPerTrack = 11
- Reserved = 2
- Interleave = 0
- LowCyl = 0 ; HighCyl = 79
- Buffers = 1
- BufMemType = 5
- Mount = 1
- BootPri = -128
- Priority = 5
- #
-
- /* an example of a ramdisk using the FastFileSystem */
- Fast:
- Device = ramdisk.device
- Unit = 30
- Flags = 1
- Surfaces = 2
- BlocksPerTrack = 11
- Reserved = 2
- Interleave = 0
- LowCyl = 0 ; HighCyl = 79
- Buffers = 1
- BufMemType = 5
- Mount = 1
- GlobVec = -1
- FileSystem = l:FastFileSystem
- MaxTransfer = 512
- DosType = 0x444F5301
- BootPri = -128
- #
-
-