diff options
Diffstat (limited to 'usr/src/man/man4d/full.4d')
| -rw-r--r-- | usr/src/man/man4d/full.4d | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/usr/src/man/man4d/full.4d b/usr/src/man/man4d/full.4d new file mode 100644 index 0000000000..63e9232490 --- /dev/null +++ b/usr/src/man/man4d/full.4d @@ -0,0 +1,46 @@ +.\" +.\" This file and its contents are supplied under the terms of the +.\" Common Development and Distribution License ("CDDL"), version 1.0. +.\" You may only use this file in accordance with the terms of version +.\" 1.0 of the CDDL. +.\" +.\" A full copy of the text of the CDDL should have accompanied this +.\" source. A copy of the CDDL is also available via the Internet at +.\" http://www.illumos.org/license/CDDL. +.\" +.\" Copyright 2017 James S Blachly, MD <james.blachly@gmail.com> +. +.Dd "Feb 7, 2017" +.Dt FULL 4D +.Os +.Sh NAME +.Nm full +.Nd always-full device +.Sh SYNOPSIS +.Pa /dev/full +.Sh DESCRIPTION +The +.Nm +device is used to test program behavior in out-of-space conditions. +.Lp +Writes always yield the error +.Er ENOSPC. +.Lp +Reads supply an endless stream of zeros, identical to +.Xr zero 4D +.Lp +.Xr lseek 2 +will always return successfully. +.Lp +.Xr mmap 2 +is not implemented. +.Sh FILES +. +.Bl -tag -width Pa +.It Pa /dev/full +.El +. +.Sh SEE ALSO +.Xr mem 4D , +.Xr null 4D , +.Xr zero 4D |
