From: luxh Date: Sat, 20 Oct 2012 20:20:35 +0000 (-0700) Subject: MAKEDEV isn't used any more X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/commitdiff_plain/6fa06028f9836765389a8d585d432ff2641184c4?ds=sidebyside MAKEDEV isn't used any more --- diff --git a/docs/docs/newhandbook/serial_communications/index.mdwn b/docs/docs/newhandbook/serial_communications/index.mdwn index 30cb498e..25baeb55 100644 --- a/docs/docs/newhandbook/serial_communications/index.mdwn +++ b/docs/docs/newhandbook/serial_communications/index.mdwn @@ -248,38 +248,6 @@ Most devices in the kernel are accessed through ***device special files***, whic -#### 18.1.4.1 Making Device Special Files - - - -A shell script called `MAKEDEV` in the `/dev` directory manages the device special files. To use `MAKEDEV` to make dial-up device special files for `COM1` (port 0), `cd` to `/dev` and issue the command `MAKEDEV ttyd0`. Likewise, to make dial-up device special files for `COM2` (port 1), use `MAKEDEV ttyd1`. - - - -`MAKEDEV` not only creates the `/dev/ttyd`***N****** device special files, but also the `/dev/cuaa`***N******, `/dev/cuaia`***N******, `/dev/cuala`***N******, `/dev/ttyld`***N******, and `/dev/ttyid`***N****** nodes. - - - -After making new device special files, be sure to check the permissions on the files (especially the `/dev/cua*` files) to make sure that only users who should have access to those device special files can read and write on them -- you probably do not want to allow your average user to use your modems to dial-out. The default permissions on the `/dev/cua*` files should be sufficient: - - - - - - crw-rw---- 1 uucp dialer 28, 129 Feb 15 14:38 /dev/cuaa1 - - crw-rw---- 1 uucp dialer 28, 161 Feb 15 14:38 /dev/cuaia1 - - crw-rw---- 1 uucp dialer 28, 193 Feb 15 14:38 /dev/cuala1 - - - - - -These permissions allow the user `uucp` and users in the group `dialer` to use the call-out devices. - - - ### 18.1.5 Serial Port Configuration