1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
.\" Copyright (c) 1993 Michael Haardt (michael@moria.de), Fri Apr 2 11:32:09 MET DST 1993
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
.\" all rights reserved.
.\" Translated Tue Feb 6 16:48:30 JST 1997
.\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\"
.\" Japanese Version Last Modified Sun Jan 11 03:52:01 1998
.\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\"
.\" WORD: system memory ƥ
.\" WORD: kernel memory ͥ
.\" WORD: system ports ƥݡ
.\" WORD: character device file 饯ǥХե
.\" WORD: patch ѥå
.\" WORD: byte address Хȥɥ쥹
.\" WORD: physical memory address ʪꥢɥ쥹
.\" WORD: read-only ɤ߹
.\" WORD: write-only
.\" WORD: kernel ͥ
.\" WORD: virtual memory ۥ
.\" WORD: I/O ports IO ݡ
.TH MEM 4 1992-11-21 "Linux" "Linux Programmer's Manual"
.SH ̾
mem, kmem, port \- ƥ(system memory)ͥ
(kernel memory)ƥݡ(sysmem ports)
.SH
\fBmem\fP ϥԥ塼ΥᥤꥤΥ饯ǥХե
(character device file)Ǥ롣ΥǥХϡ㤨Сƥ
뤿(ޤѥå(patch)Ƥ뤿)˻Ȥ
.LP
.B mem
ΥХȥɥ쥹(byte address) ʪꥢɥ쥹ȤƲᤵ롣
¸ߤƤʤؤλȤϥ顼֤롣
.LP
ɤ߹(read-only)뤤Ͻ(write-only)ΥӥåȤؤθ
뤤ϥѥåƤͽ̷̤⤿餹Ȥ롣
.LP
ΥǥХեŵŪˤϼΤ褦ˤƺ롣:
.RS
.sp
mknod \-m 660 /dev/mem c 1 1
.br
chown root:kmem /dev/mem
.RE
.LP
.B kmem
ե
.B mem
Ʊ
ʪؤΥǤϤʤͥ(kernel)β
(virtual memory)ؤΥǤۤʤ롣
.LP
ΥǥХեŵŪˤϼΤ褦ˤƺ롣:
.RS
.sp
mknod \-m 640 /dev/kmem c 1 2
.br
chown root:kmem /dev/kmem
.RE
.LP
\fBport\fP
.B mem
˻Ƥ뤬 I/O ݡ(I/O ports)ؤΥԤ롣
.LP
ΥǥХեŵŪˤϼΤ褦˺롣:
.RS
.sp
mknod \-m 660 /dev/port c 1 4
.br
chown root:mem /dev/port
.RE
.SH ե
.I /dev/mem
.br
.I /dev/kmem
.br
.I /dev/port
.SH Ϣ
.BR chown (1),
.BR mknod (1),
.BR ioperm (2)
.\" .SH
.\" <ishikawa@linux.or.jp>
|