Project

General

Profile

Feature #7882

Add /dev/full , the always-full memory device

Added by James Blachly about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2017-02-16
Due date:
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Bite-size
Tags:

Description

Linux and FreeBSD implement /dev/full , an always full memory device. Reads behave like /dev/zero, but a write always returns ENOSPC. This can be used to test software behavior in out-of-space conditions. Adding this will improve compatibility.

History

#1

Updated by Electric Monk about 3 years ago

  • Status changed from New to Closed

git commit b1c760bd3306ff30af69800801f30f3dd4b6394e

commit  b1c760bd3306ff30af69800801f30f3dd4b6394e
Author: James Blachly <james.blachly@gmail.com>
Date:   2017-03-13T18:41:50.000Z

    7882 Add /dev/full , the always-full memory device
    Reviewed by: Adam Stevko <adam.stevko@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF