OSDN Git Service

a2ea4040f8613d3785a3523a5e87c31291529168
[linuxjm/LDP_man-pages.git] / draft / man4 / ttyS.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Fri Apr  2 11:32:09 MET DST 1993
3 .\"
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
22 .\" USA.
23 .\"
24 .\" Modified Sat Jul 24 17:03:24 1993 by Rik Faith (faith@cs.unc.edu)
25 .\"
26 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
27 .\"         all rights reserved.
28 .\" Translated Tue Feb 6 17:52:03 JST 1997
29 .\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
30 .\"
31 .\" Japanese Version Last Modified Thu Feb  5 17:27:58 JST 1998
32 .\"     by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
33 .\"
34 .\" WORD:       serial          シリアル
35 .TH TTYS 4 1992-12-19 "Linux" "Linux Programmer's Manual"
36 .SH 名前
37 ttyS \- シリアルターミナルライン(serial terminal lines)
38 .SH 説明
39 \fBttyS[0\-3]\fP はシリアルターミナルラインのためのキャラクターデバイス
40 (character device)である。
41 .LP
42 典型的には次のようにして作られる。:
43 .RS
44 .sp
45 mknod \-m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
46 .br
47 mknod \-m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
48 .br
49 mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
50 .br
51 mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
52 .br
53 chown root:tty /dev/ttyS[0\-3]
54 .RE
55 .SH ファイル
56 /dev/ttyS[0\-3]
57 .SH 関連項目
58 .BR chown (1),
59 .BR mknod (1),
60 .BR tty (4),
61 .BR agetty (8),
62 .BR mingetty (8),
63 .BR setserial (8)
64 .\" .SH 翻訳者
65 .\" 石川 睦 <ishikawa@linux.or.jp>