Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtype(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 dtype(C)                        19 June 1992                        dtype(C)


 Name

    dtype - determine disk type

 Syntax

    dtype [-s] device ...

 Description

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


    Miscellaneous Disk Types

    _________________________________________________________________________


    Exit Code                          Message (optional)
    _________________________________________________________________________
       60                              error (specified)
       61                              empty or unrecognized data


    Storage Disk Types

    _________________________________________________________________________
    Exit Code                          Message (optional)
    _________________________________________________________________________
       70                              backup format, volume n
       71                              tar format [, extent e of n]
       72                              cpio format
       73                              cpio character (-c) format


    XENIX or UNIX Disk Types

    _________________________________________________________________________
    Version            Exit               Message
    or type            Code               (optional)
    _________________________________________________________________________
    System III         120                XENIX 2.x filesystem
                                          [needs cleaning]
    _________________________________________________________________________
    System V           130                XENIX 3.x or later filesystem
                                          [needs cleaning]
                       140                UNIX 1K filesystem [needs cleaning]


    MS-DOS Disk Types

    _________________________________________________________________________
    Version          Exit                 Message
    or type          Code                 (optional)
    _________________________________________________________________________
    1.x                80                 DOS 1.x, 8 sec/track, single sided
                       81                 DOS 1.x, 8 sec/track, dual sided
    _________________________________________________________________________
    2.x                90                 MS-DOS 8 sec/track, 40 tracks/side,
                                          single sided, 5.25 inch
                       91                 MS-DOS 8 sec/track, 40 tracks/side,
                                          dual sided, 5.25 inch
                       92                 MS-DOS 9 sec/track, 40 tracks/side,
                                          single sided, 5.25 inch
                       93                 MS-DOS 9 sec/track, 40 tracks/side,
                                          dual sided, 5.25 inch
                       94                 MS-DOS fixed disk
    _________________________________________________________________________
    data              100                 MS-DOS data disk, n sec/track, sin-
                                          gle sided
                      101                 MS-DOS data disk, n sec/track, dual
                                          sided
                      102                 MS-DOS data disk, 9 sec/track, sin-
                                          gle sided
                      103                 MS-DOS data disk, 9 sec/track, dual
                                          sided
    _________________________________________________________________________
    3.x               110                 MS-DOS 9 (3.5 inch) or 15 (5.25
                                          inch) sec/track, 80 tracks/side,
                                          dual sided
                      111                 MS-DOS 18 sec/track, 80
                                          tracks/side, dual sided, 3.5 inch
                      112                 MS-DOS 8 sec/track, 80 tracks/side,
                                          single sided, 3.5 or 5.25 inch
                      113                 MS-DOS 8 sec/track, 80 tracks/side,
                                          dual sided, 3.5 or 5.25 inch


 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 recog-
    nized if created on a foreign system.  This is due to such system differ-
    ences 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 Opera-
    tion, Inc.


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