FULL
Section: Linux Programmer's Manual (4)
Updated: 2007-11-24
Index
JM Home Page
roff page
 
名前
full - いつも full であるデバイス
 
設定
システムに作成済みの /dev/full がない場合、
次のコマンドにより作成できる。
        mknod -m 666 /dev/full c 1 7
        chown root:root /dev/full
 
説明
/dev/full は、メジャーデバイス番号 1、
マイナーデバイス番号 7 のファイルである。
/dev/full デバイスへの書き込みは、
ENOSPC
エラーで失敗する。
この動作を使って、プログラムがディスクフルのエラーをどのように
処理するかをテストできる。
/dev/full デバイスからの読み出しでは、\0 文字(ヌル文字)が返される。
/dev/full のシーク (seek) は常に成功する。
 
ファイル
/dev/full
 
関連項目
mknod(1),
null(4),
zero(4)
 Index
- 名前
- 
- 設定
- 
- 説明
- 
- ファイル
- 
- 関連項目
- 
This document was created by
man2html,
using the manual pages.
Time: 03:26:42 GMT, April 25, 2010