full

Section: Devices and Network Interfaces (4)
Updated: 2026-02-08
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 エラーで失敗する。 この動作を使って、プログラムがディスクフルのエラーをどのように 処理するかをテストできる。

Reads from the /dev/full device will return \0 characters.

/dev/full のシーク (seek) は常に成功する。  

ファイル


 /dev/full  

関連項目

mknod(1), null(4), zero(4)


 

Index

名前
設定
説明
ファイル
関連項目

This document was created by man2html, using the manual pages.