Rev | Line | |
---|
[9] | 1 | .TH MAKEDEV 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | MAKEDEV, DESCRIBE \- make/describe device files
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B MAKEDEV
|
---|
| 6 | .RB [ \-n ]
|
---|
| 7 | .IR key " ..."
|
---|
| 8 | .br
|
---|
| 9 | .B DESCRIBE
|
---|
| 10 | .RI [ device "] ..."
|
---|
| 11 | .SH DESCRIPTION
|
---|
| 12 | .B MAKEDEV
|
---|
| 13 | may be used to create the device files normally found in the
|
---|
| 14 | .B /dev
|
---|
| 15 | directory. The
|
---|
| 16 | .I key
|
---|
| 17 | arguments are simply the names of the devices you want.
|
---|
| 18 | .B MAKEDEV
|
---|
| 19 | knows about all supported devices and will create them in the current
|
---|
| 20 | directory with the proper owner and mode. For many devices
|
---|
| 21 | .B MAKEDEV
|
---|
| 22 | will not only create the device you want, but also the devices related
|
---|
| 23 | to it that you will probably want too. Naming one floppy device will
|
---|
| 24 | create all floppy devices for the same drive for instance.
|
---|
| 25 | .PP
|
---|
| 26 | Call
|
---|
| 27 | .B MAKEDEV
|
---|
| 28 | without arguments to see a list of keys that it understands. Then use
|
---|
| 29 | the
|
---|
| 30 | .B \-n
|
---|
| 31 | flag to make the script echo the commands it will execute the next time
|
---|
| 32 | when you call it without that flag.
|
---|
| 33 | .PP
|
---|
| 34 | The special key
|
---|
| 35 | .B std
|
---|
| 36 | must be given alone to
|
---|
| 37 | .BR MAKEDEV .
|
---|
| 38 | This key will create all standard devices.
|
---|
| 39 | .PP
|
---|
| 40 | The command
|
---|
| 41 | .B DESCRIBE
|
---|
| 42 | will give you a one-line description of a given device. It will by
|
---|
| 43 | default list all devices in
|
---|
| 44 | .BR /dev .
|
---|
| 45 | .SH "SEE ALSO"
|
---|
| 46 | .BR dev (4),
|
---|
| 47 | .BR mknod (8).
|
---|
| 48 | .SH BUGS
|
---|
| 49 | .BR MAKEDEV "'s"
|
---|
| 50 | eagerness to create devices may cause many "File exists" errors from
|
---|
| 51 | .BR mknod .
|
---|
| 52 | .SH AUTHOR
|
---|
| 53 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.