xref: /minix3/minix/commands/MAKEDEV/MAKEDEV.8 (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1.Dd October 4, 2013
2.Dt MAKEDEV 8
3.Os
4.Sh NAME
5.Nm MAKEDEV, DESCRIBE
6.Nd make/describe device files
7.Sh SYNOPSIS
8.Nm MAKEDEV
9.Op Fl n | Fl m
10.Op Fl r | Fl s
11.Op key ...
12.Nm DESCRIBE
13.Op device ...
14.Sh DESCRIPTION
15.Nm MAKEDEV
16may be used to create the device files normally found in the /dev directory.
17.Nm MAKEDEV
18knows about all supported devices and will create them in the current
19directory with the proper owner and mode. For many devices
20.Nm MAKEDEV
21will not only create the device you want, but also the devices related
22to it that you will probably want too. Naming one floppy device will
23create all floppy devices for the same drive for instance.
24.Pp
25The options are as follows:
26.Bl -tag -width Xxxexcludexfilexx
27.It Fl n
28echo the commands it would execute when you call it without that flag.
29.It Fl m
30echo
31.Nm mtree(8)
32formatted lines instead of creating the device nodes.
33.It Fl r
34Restricted set of devices. This set is used when generating the ramdisk.
35.It Fl s
36Standard set of devices. This set is used when popluating /dev.
37.El
38.Pp
39.Ar key
40arguments are simply the names of the devices you want to create. Call
41.Nm MAKEDEV
42without arguments to see a list of keys that it understands.
43.Pp
44The command
45.Nm DESCRIBE
46will give you a one-line description of a given device. By default It
47will list all devices in /dev.
48.Sh "SEE ALSO"
49.Xr dev 4 ,
50.Xr mknod 8
51.Sh BUGS
52The eagerness of
53.Nm MAKEDEV
54to create devices may cause many "File exists" errors from
55.Nm mknod .
56.Sh AUTHORS
57Written by Kees J. Bot (kjb@cs.vu.nl) and Lionel A. Sambuc (lionel@minix3.org)
58