summaryrefslogtreecommitdiffstats
path: root/man2/ioctl_getfsmap.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/ioctl_getfsmap.2')
-rw-r--r--man2/ioctl_getfsmap.215
1 files changed, 7 insertions, 8 deletions
diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2
index 3f63f0841..e80c1d9a4 100644
--- a/man2/ioctl_getfsmap.2
+++ b/man2/ioctl_getfsmap.2
@@ -1,7 +1,7 @@
.\" Copyright (c) 2017, Oracle. All rights reserved.
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
-.TH ioctl_getfsmap 2 2022-10-30 "Linux man-pages 6.03"
+.TH ioctl_getfsmap 2 2023-05-03 "Linux man-pages 6.05.01"
.SH NAME
ioctl_getfsmap \- retrieve the physical layout of the filesystem
.SH LIBRARY
@@ -36,14 +36,14 @@ struct fsmap {
__u64 fmr_length; /* Length of segment */
__u64 fmr_reserved[3]; /* Must be zero */
};
-
+\&
struct fsmap_head {
__u32 fmh_iflags; /* Control flags */
__u32 fmh_oflags; /* Output flags */
__u32 fmh_count; /* # of entries in array incl. input */
__u32 fmh_entries; /* # of entries filled in (output) */
__u64 fmh_reserved[6]; /* Must be zero */
-
+\&
struct fsmap fmh_keys[2]; /* Low and high keys for
the mapping search */
struct fsmap fmh_recs[]; /* Returned records */
@@ -335,13 +335,12 @@ The filesystem does not support this command.
.TP
.B EUCLEAN
The filesystem metadata is corrupt and needs repair.
-.SH VERSIONS
-The
-.B FS_IOC_GETFSMAP
-operation first appeared in Linux 4.12.
.SH STANDARDS
-This API is Linux-specific.
+Linux.
+.PP
Not all filesystems support it.
+.SH HISTORY
+Linux 4.12.
.SH EXAMPLES
See
.I io/fsmap.c