home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / workbench / xfs / devs / mount.xfsd < prev   
Encoding:
Text File  |  1998-05-04  |  6.5 KB  |  221 lines

  1. /*
  2.    Mount list for x file system disk handler
  3.  
  4.    Arrangement:
  5.  
  6.        L:        xfsd
  7.  
  8.        DEVS:     mount.xfsd
  9.                  fd.device
  10.  
  11.    then use:
  12.  
  13.        Mount FD0: from DEVS:mount.xfsd
  14.  
  15.    somewhere in your startup-sequence or user-startup
  16.  
  17.    Alternative arrangement for WB3:
  18.  
  19.        L:                    xfsd
  20.  
  21.        DEVS:DOSDrivers/      FD0
  22.                              FD0.info
  23.                              FD1       (if you've got)
  24.                              FD1.info  ( two drives:-)
  25.  
  26.    then this standard line from your startup-sequence
  27.    will mount the drive(s) for you:
  28.  
  29.    C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)
  30.  
  31.    Note in both cases you must mount the drive(s) before the
  32.    line in your startup (C:LoadWB) that loads the Workbench if
  33.    you wish to be able to format disks by selecting icons.
  34.  
  35.    ** SOMETHING HAS CHANGED **
  36.  
  37.    Now Flags = 0 stops the volume being mounted by name.
  38.    This prevents the WorkBench recognising the disk but still
  39.    allows you to access it using the device name (ie FD0:).
  40.    There is no longer a separate handler called xfsd-ami.
  41.    To get the volume to be mounted (and the Workbench icon
  42.    to appear) the bits in the top byte represent each different
  43.    section of the handler.
  44.  
  45.                           8 4 2 1 - 8 4 2 1
  46.                           | | | |   | | | |
  47.              ql ----------+ | | |   | | | |
  48.              spectrum ------+ | |   | | | |
  49.              msdos -----------+ |   | | | |
  50.              archimedes --------+   | | | |
  51.              amiga -----------------+ | | |
  52.              minix -------------------+ | |
  53.              mac -----------------------+ |
  54.              cpm -------------------------+
  55.  
  56.    So if you wanted the handler to only mount MSDOS or MAC
  57.    volumes you would use Flags = 0x22000000
  58.  
  59.    REMEMBER, even if the volume isn't mounted, the disk is
  60.    still accessible via the device (eg FD0:).
  61.  
  62.    ALSO to disable a filesystem completely, the same bits in
  63.    the next byte can be set, so to disable the amiga file
  64.    handler section of xfs use Flags = 0x00080000
  65.  
  66.    ALSO only the top word of the flags is used by the handler,
  67.    this being masked off before the flags are sent to the low
  68.    level device, so you can put any values you like in the lower
  69.    word, whatever is required for the .device you are using.
  70.    This means you can use the xfsd handler with mfm.device, or
  71.    with catweazel if you like.
  72.  
  73.    ------------------------------------------------------------
  74.    NEW-NEW-NEW-NEW-NEW-NEW    V2.13b    NEW-NEW-NEW-NEW-NEW-NEW
  75.  
  76.    Slight fix for ease-of-use. If you don't set any of the upper
  77.    16 bits of the flags (ie flags == 0x0000xxxx) then xfsd will
  78.    now interpret this as recognise all / mount all on WorkBench
  79.    (ie as if it was flags 0xFF00xxxx).
  80.  
  81.    ------------------------------------------------------------
  82. */
  83. FD0:
  84.  FileSystem = L:xfsd
  85.  /*
  86.   * some flag settings examples
  87.   *
  88.   * 0x80080000 mount ql volumes only, no recognition of amiga disks
  89.   *
  90.   * 0xFF000000 mount all volumes
  91.   *
  92.   * new (V2.13b) Flags = 0 will mount all volumes also
  93.   *
  94.   */
  95.  Device     = fd.device ; Unit = 0 ; Flags = 0
  96.  /**/
  97.  LowCyl     = 0  ; HighCyl = 79
  98.  Surfaces   = 2  ; BlocksPerTrack = 11
  99.  Reserved   = 0  ; Interleave = 0
  100.  Buffers    = 20 ; BufMemType = 1
  101.  Priority   = 9  ; Stacksize  = 16000
  102.  Globvec    = -1 ; Mount      = 1
  103.  DosType    = 0x58465344 /* 'XFSD' */
  104. #
  105. FD1:
  106.  FileSystem = L:xfsd
  107.  /*
  108.   *  flags set to mount all + recognise all
  109.   */
  110.  Device     = fd.device ; Unit = 1 ; Flags = 0
  111.  LowCyl     =  0 ; HighCyl = 79
  112.  Surfaces   =  2 ; BlocksPerTrack = 11
  113.  Reserved   =  0 ; Interleave = 0
  114.  Buffers    = 20 ; BufMemType = 1
  115.  Priority   = 9  ; Stacksize  = 16000
  116.  Globvec    = -1 ; Mount      = 1
  117.  DosType    = 0x58465344 /* 'XFSD' */
  118. #
  119. FD2:
  120.  FileSystem = L:xfsd
  121.  Device     = fd.device ; Unit = 2 ; Flags = 0
  122.  LowCyl     = 0  ; HighCyl = 79
  123.  Surfaces   = 2  ; BlocksPerTrack = 11
  124.  Reserved   = 0  ; Interleave = 0
  125.  Buffers    = 20 ; BufMemType = 1
  126.  Priority   = 9  ; Stacksize  = 16000
  127.  Globvec    = -1 ; Mount      = 1
  128.  DosType    = 0x58465344 /* 'XFSD' */
  129. #
  130. FD3:
  131.  FileSystem = L:xfsd
  132.  Device     = fd.device ; Unit = 3 ; Flags = 0
  133.  LowCyl     =  0 ; HighCyl = 79
  134.  Surfaces   =  2 ; BlocksPerTrack = 11
  135.  Reserved   =  0 ; Interleave = 0
  136.  Buffers    = 20 ; BufMemType = 1
  137.  Priority   = 9  ; Stacksize  = 16000
  138.  Globvec    = -1 ; Mount      = 1
  139.  DosType    = 0x58465344 /* 'XFSD' */
  140. #
  141. FILE0:
  142.  FileSystem = L:xfsd
  143.  Device     = file.device ; Unit = 0 ; Flags = 0
  144.  LowCyl     = 0  ; HighCyl = 79
  145.  Surfaces   = 2  ; BlocksPerTrack = 11
  146.  Reserved   = 0  ; Interleave = 0
  147.  Buffers    = 20 ; BufMemType = 1
  148.  Priority   = 9  ; Stacksize  = 16000
  149.  Globvec    = -1 ; Mount      = 1
  150.  DosType    = 0x58465344 /* 'XFSD' */
  151. #
  152. FILE1:
  153.  FileSystem = L:xfsd
  154.  Device     = file.device ; Unit = 1 ; Flags = 0
  155.  LowCyl     =  0 ; HighCyl = 79
  156.  Surfaces   =  2 ; BlocksPerTrack = 11
  157.  Reserved   =  0 ; Interleave = 0
  158.  Buffers    = 20 ; BufMemType = 1
  159.  Priority   = 9  ; Stacksize  = 16000
  160.  Globvec    = -1 ; Mount      = 1
  161.  DosType    = 0x58465344 /* 'XFSD' */
  162. #
  163. FILE2:
  164.  FileSystem = L:xfsd
  165.  Device     = file.device ; Unit = 2 ; Flags = 0
  166.  LowCyl     =  0 ; HighCyl = 79
  167.  Surfaces   =  2 ; BlocksPerTrack = 11
  168.  Reserved   =  0 ; Interleave = 0
  169.  Buffers    = 20 ; BufMemType = 1
  170.  Priority   = 9  ; Stacksize  = 16000
  171.  Globvec    = -1 ; Mount      = 1
  172.  DosType    = 0x58465344 /* 'XFSD' */
  173. #
  174. FILE3:
  175.  FileSystem = L:xfsd
  176.  Device     = file.device ; Unit = 3 ; Flags = 0
  177.  LowCyl     =  0 ; HighCyl = 79
  178.  Surfaces   =  2 ; BlocksPerTrack = 11
  179.  Reserved   =  0 ; Interleave = 0
  180.  Buffers    = 20 ; BufMemType = 1
  181.  Priority   = 9  ; Stacksize  = 16000
  182.  Globvec    = -1 ; Mount      = 1
  183.  DosType    = 0x58465344 /* 'XFSD' */
  184. #
  185. HD0:
  186.  FileSystem  = L:xfsd
  187.  Device      = gvpscsi.device ; Unit = 000 ; Flags = 0
  188.  Surfaces    = 4
  189.  BlocksPerTrack = 41
  190.  Reserved    = 2
  191.  Interleave  = 0
  192. /* SecOrg = 1 */
  193.  LowCyl      = 0      /* /- these values cover the whole disk */
  194.  HighCyl     = 1514   /* \- to allow xfsd to find partitions  */
  195.  Stacksize   = 16000
  196.  Priority    = 9
  197.  GlobVec     = -1
  198.  Mount       = 1
  199.  DosType     = 0x58465344 /* 'XFSD' */
  200.  Buffers     = 32
  201.  BufMemType  = 0  /* was 1 */
  202. #
  203. HDC:
  204.  FileSystem  = L:xfsd
  205.  Device      = gvpscsi.device ; Unit = 000 ; Flags = 0
  206.  Surfaces    = 4
  207.  BlocksPerTrack = 27 /* really 41 */
  208.  Reserved    = 1
  209.  Interleave  = 0
  210. /* SecOrg = 1 */
  211.  LowCyl      = 1692  /* really 1114 */
  212.  HighCyl     = 2300
  213.  Stacksize   = 16000
  214.  Priority    = 5
  215.  GlobVec     = -1
  216.  Mount       = 1
  217.  DosType     = 0x58465344 /* 'XFSD' */
  218.  Buffers     = 32 /* was 5 */
  219.  BufMemType  = 0  /* was 1 */
  220. #
  221.