Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ MKDEV(1M) — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(1M)

uname(1)

mknod(2)

DEV_DB(4)



MKDEV(1M)           RISC/os Reference Manual            MKDEV(1M)



NAME
     MKDEV - make devices

SYNOPSIS
     /dev/MKDEV [ -m machine ] [ -d directory ] [ -n ] [ -p ] [
     class... ]

DESCRIPTION
     MKDEV is used to create system device entries for terminals,
     tapes, disks, and other devices.  Previous versions of MKDEV
     have been shell scripts that create all system device
     entries.  This version uses a database that can be easily
     modified on a per-network or per-host basis, reducing
     maintenance after system updates.

     The database used by MKDEV is described in DEV_DB(4).  Basi-
     cally, the database consists of class definitions.  A class
     consists of device descriptions, links, messages, and names
     of other classes.

     With no class name given, the class default is used.  This
     class consists of the device entries to be created on a new
     system.  If a list of one or more classes is given, these
     will be used instead.

     MKDEV should be run with the current directory set to /dev,
     unless devices are to be created in other places, such as
     for distributions or creating the initial devices at system
     installation time.  Note that this means that the database
     must be in ./DEV_DB.

     MKDEV takes care of removing existing device entries and
     creates directories as needed.

     Care should be taken to use the database as documented, as
     new versions of the program will add to the database
     language.

OPTIONS
     -m machine
          Change the machine database name to the given name.

     -d directory
          Use the database in the given directory instead of
          ./DEV_DB.

     -n   Don't execute the commands.  When used alone, -n should
          result in nothing being printed, and is thus useful for
          checking database syntax.

     -p   Print the commands to be executed.




                        Printed 11/19/92                   Page 1





MKDEV(1M)           RISC/os Reference Manual            MKDEV(1M)



FILES
     /dev           Device directory
     ./DEV_DB       Default database directory

SEE ALSO
     mknod(1M).
     uname(1) in the User's Reference Manual.
     mknod(2), DEV_DB(4) in the Programmer's Reference Manual.















































 Page 2                 Printed 11/19/92



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