diff options
author | dd <dd@FreeBSD.org> | 2001-11-04 23:11:25 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-11-04 23:11:25 +0000 |
commit | f1ad80a38fc47380a6fbf21d81ffd9ed053d341d (patch) | |
tree | ca039c8efc46ed8333d94e1e4ad5c603c7a8a815 | |
parent | fb8e36e21e12e5e3b78d141e365724d24a939244 (diff) | |
download | FreeBSD-src-f1ad80a38fc47380a6fbf21d81ffd9ed053d341d.zip FreeBSD-src-f1ad80a38fc47380a6fbf21d81ffd9ed053d341d.tar.gz |
Refer people looking to figure out what major to use for a device to
MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has
never existed in the history of FreeBSD (well, at least it isn't in
the repository).
PR: 31558
-rw-r--r-- | sbin/mknod/mknod.8 | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index ade5fc7..094a8d5 100644 --- a/sbin/mknod/mknod.8 +++ b/sbin/mknod/mknod.8 @@ -77,16 +77,10 @@ and pseudo devices, and are type .It Ar major The major device number is an integer number which tells the kernel which device driver entry point to use. To learn what -major device number to use for a particular device, check the file +major device number to use for a particular device, check .Pa /dev/MAKEDEV -to see if the device is known, or check -the system dependent device configuration file: -.Bd -ragged -offset indent -.Dq Pa /usr/src/sys/conf/device. Ns Aq Ar architecture -.Ed -.Pp -(for example -.Pa device.hp300 ) . +or +.Pa /usr/src/sys/conf/majors . .It Ar minor The minor device number tells the kernel which subunit the node corresponds to on the device; for example, |