Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtype(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     DTYPE(C)                             UNIX System V



     Name
          dtype - determines disk type


     Syntax
          dtype [-s] device ...


     Description
          dtype determines type of disk, prints pertinent  information
          on  the  standard  output  unless  the silent (-s) option is
          selected, and exits with a corresponding code  (see  below).
          When  more  than  one  argument  is  given,  the  exit  code
          corresponds to the last argument.

          _________________________________________________________________
         | Disk   |  Exit|  Message                                       |
         |________|______|________________________________________________|
         | Type   |  Code|  (optional)                                    |
         |________|______|________________________________________________|
         |________|______|________________________________________________|
         |________|______|________________________________________________|
         | Misc.  |  60  |  error (specified)                             |
         |________|______|________________________________________________|
         |        |  61  |  empty or unrecognized data                    |
         |________|______|________________________________________________|
         | Storage|  70  |  backup format, volume n                       |
         |________|______|________________________________________________|
         |        |  71  |  tar format[, extent e of n]                   |
         |________|______|________________________________________________|
         |        |  72  |  cpio format                                   |
         |________|______|________________________________________________|
         |        |  73  |  cpio character (-c) format                    |
         |________|______|________________________________________________|
         | MS-DOS |  80  |  DOS 1.x, 8 sec/track, single sided            |
         |________|______|________________________________________________|
         |        |  81  |  DOS 1.x, 8 sec/track, dual sided              |
         |________|______|________________________________________________|
         |        |  90  |  DOS 2.x, 8 sec/track, single sided            |
         |________|______|________________________________________________|
         |        |  91  |  DOS 2.x, 8 sec/track, dual sided              |
         |________|______|________________________________________________|
         |        |  92  |  DOS 2.x, 9 sec/track, single sided            |
         |________|______|________________________________________________|
         |        |  93  |  DOS 2.x, 9 sec/track, dual sided              |
         |________|______|________________________________________________|
         |        |  94  |  DOS 2.x, fixed disk                           |
         |________|______|________________________________________________|
         |        |  110 |  DOS 3.x, 9 sec/track, dual sided              |
         |________|______|________________________________________________|
         | XENIX  |  120 |  XENIX 2.x filesystem [needs cleaning]         |
         |________|______|________________________________________________|
         |        |  130 |  XENIX 3.x or later filesystem [needs cleaning]|
         |________|______|________________________________________________|
         | UNIX   |  140 |  UNIX 1K filesystem [needs cleaning]           |
         |________|______|________________________________________________|

     Notes
          word-swapped refers  to  byte  ordering  of  long  words  in
          relation to the host system.

          XENIX filesystems and backup and cpio binary formats may not
          be  recognized  if created on a foreign system.  This is due
          to such system differences as byte  and  word  swapping  and
          structure alignment.

          This utility only works reliably for floppy diskettes.


     Value Added
          dtype is an extension of AT&T System V provided by the Santa
          Cruz Operation.


     (printed 2/15/90)                                   DTYPE(C)







































































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026