DTYPE(C) XENIX System V DTYPE(C)
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 | dump 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] |
|________|______|________________________________________________|
Page 1 (printed 2/7/91)
DTYPE(C) XENIX System V DTYPE(C)
|________|______|________________________________________________|
| | 130 | XENIX 3.x or later filesystem [needs cleaning]|
|________|______|________________________________________________|
Notes
word-swapped refers to byte ordering of long words in
relation to the host system.
XENIX file systems and dump 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.
Page 2 (printed 2/7/91)