Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mknod(1m) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                mknod(1m)



        _________________________________________________________________
        mknod
        build special file
        _________________________________________________________________


        SYNTAX

        /etc/mknod name b | c major minor

        /etc/mknod name p


        DESCRIPTION

        Mknod makes a directory entry and corresponding inode for a
        special file.  Arguments are:

        name    Name of the entry.

        b or c  Indicator that the special file is block-type (disks,
                tape) or character-type (other devices).  Only the
                superuser may make device nodes.

        major   Number specifying the major device type in octal or
                decimal.  Octal numbers must begin with the digit 0.

        minor   Number specifying the minor device (e.g., unit, drive, or
                line number) in decimal or octal.

        p       Indicator that mknod is to create FIFOs (named pipes).
                Any user may create FIFO nodes.


        NOTES

        Octal numbers must begin with the digit `0'.

        The assignment of major device numbers is determined by the
        contents of the master files in /etc/master.d used by config(1m).
        Minor device numbers are specific to each system.  Take note
        that, in general, it should be not be necessary to use the mknod
        command, because all the devices configured into your kernel will
        automatically have nodes created for them each time your system
        is booted.


        FILES

        /etc/master.d/*     Files containing names of all possible
                       devices.



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                                mknod(1m)



        SEE ALSO

        config(1m), mknod(2).



















































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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