lseek.2: Note which filesystems support SEEK_HOLE/SEEK_DATA

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-22 12:30:49 +01:00
parent 7e7454efaa
commit b146ac839f
1 changed files with 18 additions and 1 deletions

View File

@ -44,7 +44,7 @@
.\" Modified 2003-08-21 by Andries Brouwer <aeb@cwi.nl>
.\" 2011-09-18, mtk, Added SEEK_DATA + SEEK_HOLE
.\"
.TH LSEEK 2 2013-03-27 "Linux" "Linux Programmer's Manual"
.TH LSEEK 2 2014-01-22 "Linux" "Linux Programmer's Manual"
.SH NAME
lseek \- reposition read/write file offset
.SH SYNOPSIS
@ -159,6 +159,23 @@ and
.BR SEEK_HOLE
from
.IR <unistd.h> .
The
.BR SEEK_HOLE
and
.BR SEEK_DATA
operations are supported for the following filesystems:
.IP * 3
Btrfs (since Linux 3.1)
.IP * 3
OCFS (since Linux 3.2)
.\" commit 93862d5e1ab875664c6cc95254fc365028a48bb1
.IP *
XFS (since Linux 3.5)
.IP *
ext4 (since Linux 3.8)
.IP *
tmpfs (since Linux 3.8)
.SH RETURN VALUE
Upon successful completion,
.BR lseek ()