.\" 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. .\" .\" Modified Sat Jul 24 16:59:10 1993 by Rik Faith (faith@cs.unc.edu) .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .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 \fBmem\fP のバイトアドレス(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 \fBkmem\fP ファイルは \fBmem\fP と同じだが、 物理メモリへのアクセスではなく、カーネル(kernel)の仮想 メモリ(virtual memory)へのアクセスである点が異なる。 .LP 典型的には次のようにして作られる。: .RS .sp mknod \-m 640 /dev/kmem c 1 2 .br chown root:kmem /dev/kmem .RE .LP \fBport\fP は \fBmem\fP に似ているが I/O ポート(I/O ports)へのアクセスが行われる。 .LP 典型的には次のようにして作られる。: .RS .sp mknod \-m 660 /dev/port c 1 4 .br chown root:mem /dev/port .RE .SH ファイル \fI/dev/mem\fP .br \fI/dev/kmem\fP .br \fI/dev/port\fP .SH 関連項目 \fBchown\fP(1), \fBmknod\fP(1), \fBioperm\fP(2) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。