Command: srdisk

  SRDISK is a virtual disk device driver (RAM-disk driver like:
  TDSK (Turbodisk) and RDISK. The purpose of such a driver is to add
  an extremely fast virtual disk drive to your system. Such a drive
  is of excellent utility for holding temporary files. Files there get
  lost when you turn off or reboot your computer, so it can not be used
  for permanent storage.
  This device driver and controller are capable of using over 32 MB of XMS
  and/or EMS memory. The disk can be disabled and it's size can be changed
  without rebooting. It also can preserve the disk contents when the size
  is changed and is DISKCOPY compatible -- among a host of other features.

Syntax:

  srdisk [drive letter:] [size] [/F:(DOS disk type)] [/S:(sector size)]
         [/C:(cluster size)] [/D:(dir entries)] [/V:(verbose)][/E][/U]
         [/O] [/Y] [/N] [/?]
         and many more. See documention at the links in section COMMENTS
         below.

Options:

  drive letter:      Specifies the drive that is the RAM disk.
  size               Determines the disk size in Kilobytes.
  /F:(DOS disk type) Some valid are 1, 160, 180, 320, 360, 720, 1200,
                     1440.
  /S:(sector size)   Is a power of 2 in range from 128 to 512 Bytes.
  /C:(cluster size)  Is a power of 2 in range from 128 to 32768 Bytes.
  /D:(dir entries)   Is the max. number of entries in the root directory.
  /A:(FATs)          Number of File Allocation Tables in disk. 1 or 2,
                     1 is enough.
  /W                 Write protect disk, /W- enables writes.
  /V:(verbose)       Verbose level from 0 (silent) to 5 (verbose);
                     default is 2.
  /E                 Set environment variables SRDISKn (n=1,2,...) to
                     SRDISK drive letters.
  /U                 Clear disk ontents.
  /O                 Old format as default
  /Y                 Yes, destroy the contents.
  /N                 No, preserve contents.
  /?                 Shows the help.

Comments:

  The SRDISK is basically split into two parts:
    1) a device driver to add the virtual drive into DOS and
    2) a program to control the device driver
  The following explains the installation and how to use both of
  these parts.

  BASIC INSTALLATION
  The basic installation for XMS memory can be done following these
  steps:
    1. Copy SRDXMS.SYS into your root directory.
    2. Copy SRDISK.EXE into some directory in your PATH (e.g.
       C:\FREEDOS\BIN).
    3. Make sure you have HIMEMX or some other XMS driver installed
       in CONFIG.SYS / FDCONFIG.SYS before the following step.
    4. Add into your CONFIG.SYS / FDCONFIG.SYS line:
         DEVICE=SRDXMS.SYS
    5. Add into your AUTOEXEC.BAT / FDAUTO.BAT after the PATH command line
         SRDISK (size)
       The (size) defines the disk size in Kbytes.
  If you have EMS / JEMM386 memory, then use file SRDEMS.SYS in place
  of SRDXMS.SYS and make sure EMS 4.0 device driver is installed in
  CONFIG.SYS / FDCONFIG.SYS before the SRDEMS.SYS.
  The device driver adds into DOS a new disk drive. Before you run
  SRDISK.EXE or when you set the disk size to zero, the new disk drive
  behaves as if you have a floppy drive without a floppy inserted.

  For more information see:
  https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/
  repositories/1.3/drivers/
  packet: srdisk, section: DOC  OR:
  https://gitlab.com/FreeDOS/drivers/srdisk/-/tree/master/DOC/SRDISK

Examples:

  See "BASIC INSTALLATION" above.

See also:

  autoexec.bat/fdauto.bat
  config.sys/fdconfig.sys
  device/devicehigh
  dos
 (fdxms)
 (fdxms286)
  himemx
  jemm386
  jemmex
  lastdrive
  rdisk
  rdiskon
  tdsk
  udvd2.sys
  uhdd.sys
  xmgr.sys

  Copyright © 2022 W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.