Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkdev(C) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

badtrk(M)

divvy(C)

dparam(C)

fd(HW)

fdisk(C)

filesys(F)

format(C)

hd(HW)

lp(HW)

lpinit(C)

mkfs(C)

mknod(C)

mount(C)

serial(HW)

tape(HW)



     MKDEV(C)                 XENIX System V                  MKDEV(C)



     Name
          mkdev - Calls scripts to add peripheral devices.

     Syntax
          /etc/mkdev lp
          /etc/mkdev hd
          /etc/mkdev serial
          /etc/mkdev fs [ device file ]
          /etc/mkdev fd
          /etc/mkdev tape
          /etc/mkdev om
          /etc/mkdev shl

     Description
          mkdev calls the scripts to create the requested type of
          device file(s).  mkdev may call lpinit(C), hdinit, serinit,
          fdinit, fsinit, tapeinit, ominit, or shlinit.  If no
          arguments are listed, mkdev prints a usage message.

          /etc/mkdev lp creates device files for use with line
          printers. (See lpinit(C).)

          /etc/mkdev hd creates device files for use with a peripheral
          hard disk. The device files for an internal hard disk
          already exist. hdinit invokes the following utilities:
          dparam(C), badtrk(M), fdisk(C), and divvy(C).

          /etc/mkdev serial creates device files for use with serial
          cards. The device files for the first and second ports
          already exist.  Additional device files must be created for
          the ports added when expansion cards are added to the
          system. The /etc/ttys and /etc/ttytype files are updated.

          /etc/mkdev fs performs the system maintenance tasks required
          to add a new filesystem to the system once the device is
          created (mknod(C)) and the filesystem is made (mkfs(C)).  It
          creates the /file and  /file/lost+found directories,
          reserves slots in the lost+found directory, and modifies
          /etc/checklist, /etc/default/filesys and /etc/default to
          check (fsck(C)) and mount (mount(C),mnt(C),rc(C)) the
          filesystem as appropriate.  It is usually used in
          conjunction with mkdev hd when adding a second hard disk to
          the system or with mkdev fd when creating a mountable
          filesystem on a floppy, but can be used on any additional
          filesystem (for example, on a large internal hard disk).

          /etc/mkdev fd creates bootable and root file system floppy
          disks. The three basic options are: boot and root on a
          single disk (96 tpi only), boot and root pair (48 tpi) or
          filesystem only.  Use with mkdev fs when creating a
          filesystem-only floppy.




     Page 1                                           (printed 8/7/87)





     MKDEV(C)                 XENIX System V                  MKDEV(C)



          /etc/mkdev tape configures the tape driver in preparation
          for linking a new kernel that includes tape support. It adds
          a standard quarter-inch cartridge tape driver and/or a
          mini-cartridge tape driver.

          The current driver configurations can be displayed, and
          changed if necessary. A zero in any of the fields means the
          driver automatically detects the type of tape device
          installed and uses the built-in values for that device. If
          the autoconfiguration values are not correct for your drive,
          refer to your hardware manual for the correct values,
          configure the driver and relink the new kernel. mkdev tape
          can also be used to remove a tape driver from the existing
          kernel.

          /etc/mkdev shl initializes necessary devices and configures
          kernel parameters associated with the number of shell layers
          sessions available on the system.

          Once the driver is configured, you are prompted for re-
          linking the kernel. The appropriate devices in /dev are
          created.

          The various init scripts prompt for the information
          necessary to create the devices.

     Files
          /usr/lib/mkdev/fsinit
          /usr/lib/mkdev/hdinit
          /usr/lib/mkdev/lpinit
          /usr/lib/mkdev/serinit
          /usr/lib/mkdev/tapeinit
          /usr/lib/mkdev/fdinit
          /usr/lib/mkdev/shlinit

     See Also
          badtrk(M), divvy(C), dparam(C), fd(HW), fdisk(C),
          filesys(F), format(C), hd(HW), lp(HW), lpinit(C), mkfs(C),
          mknod(C), mount(C), serial(HW), tape(HW), and the ``Using
          Peripheral Devices'' chapter in the XENIX Operations Guide.

     Notes
          ominit is not supplied with the standard XENIX distribution.












     Page 2                                           (printed 8/7/87)



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