OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man4 / ttyS.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Fri Apr  2 11:32:09 MET DST 1993
3 .\"
4 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
26 .TH TTYS 4 1992-12-19 "Linux" "Linux Programmer's Manual"
27 .SH NAME
28 ttyS \- serial terminal lines
29 .SH DESCRIPTION
30 .B ttyS[0\-3]
31 are character devices for the serial terminal lines.
32 .LP
33 They are typically created by:
34 .RS
35 .sp
36 mknod \-m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
37 .br
38 mknod \-m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
39 .br
40 mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
41 .br
42 mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
43 .br
44 chown root:tty /dev/ttyS[0\-3]
45 .RE
46 .SH FILES
47 /dev/ttyS[0\-3]
48 .SH SEE ALSO
49 .BR chown (1),
50 .BR mknod (1),
51 .BR tty (4),
52 .BR agetty (8),
53 .BR mingetty (8),
54 .BR setserial (8)
55 .SH COLOPHON
56 This page is part of release 3.68 of the Linux
57 .I man-pages
58 project.
59 A description of the project,
60 information about reporting bugs,
61 and the latest version of this page,
62 can be found at
63 \%http://www.kernel.org/doc/man\-pages/.