Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkdev(1M)

mknod(1M)

MKDEVNO(1M)                          SysV                          MKDEVNO(1M)



NAME
     /etc/mkdevno - assign mapping of major device number to a trait manager

SYNOPSIS
     /etc/mkdevno -a [-n device_numbers_file] type b|c [major]
     /etc/mkdevno -r [-n device_numbers_file] type b|c major
     /etc/mkdevno -d [-n device_numbers_file] type b|c major
     /etc/mkdevno -l [-n device_numbers_file]

DESCRIPTION
     mkdevno assigns mapping of a major device number to a trait manager.
     Note that this correspondence only applies to devices created (with
     mknod(1M)) while the mapping is in effect; if mkdevno is used to map a
     new manager to an existing device number this will not affect devices
     previously created.

OPTIONS
     -n file   Uses the named file instead of
               `node_data/device_numbers

     -a        Assigns a new mapping.

     -r        Replaces an existing mapping.

     -d        Deletes an existing mapping.

     -l        Lists current mappings.

OTHER PARAMETERS
     type      The name or UID of the installed manager.

     b|c       b for block special device, c for character special device.

     major     Major device number (optional for assign operation).  If not
               specified then lowest available number is used.  This number
               should be in the range of 0-31 for character special devices
               and between 0-7 for block special devices.

DIAGNOSTICS
     Should be self explanatory.

FILES
     `node_data/device_numbers - default mapping file

SEE ALSO
     mkdev(1M), mknod(1M)

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