From b7551bceebaa972dcfa72abb4eb0dae4f4fe91d7 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 28 Jul 2015 22:48:58 +0000 Subject: [PATCH] unlink(2): Note the possibility for ENOSPC to be returned on ZFS. PR: 154930 --- lib/libc/sys/unlink.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 406c77c2475..e59ecf8b2a9 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -28,7 +28,7 @@ .\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd April 25, 2010 +.Dd July 28, 2015 .Dt UNLINK 2 .Os .Sh NAME @@ -151,6 +151,9 @@ The .Fa path argument points outside the process's allocated address space. +.It Bq Er ENOSPC +On file systems supporting copy-on-write or snapshots, there was not enough +free space to record metadata for the delete operation of the file. .El .Pp In addition to the errors returned by the