mknod <FILE> <major> <minor | unit subunit>
Create device special file
Arguments
Name | Description |
---|
FILE | File to create |
major | The major device number is an integer number which tells the kernel which device driver entry point to use |
minor | unit subunit | The minor device number tells the kernel which one of several similar devices the node corresponds to; the unit and subunit numbers select a subset of a device; for example, the unit may specify a particular SCSI disk, and the subunit a partition on that disk |
Subcommands
Name | Description |
---|
c | Create (c)haracter device |
b | Create (b)lock device |
Options
Name | Description |
---|
-F <FORMAT> | Format |