summaryrefslogtreecommitdiffstats
path: root/man2/open_by_handle_at.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/open_by_handle_at.2')
-rw-r--r--man2/open_by_handle_at.226
1 files changed, 13 insertions, 13 deletions
diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2
index a4050d664..edf1a3519 100644
--- a/man2/open_by_handle_at.2
+++ b/man2/open_by_handle_at.2
@@ -26,7 +26,7 @@ The
and
.BR open_by_handle_at ()
system calls split the functionality of
-.BR openat (2)
+.MR openat 2
into two parts:
.BR name_to_handle_at ()
returns an opaque handle that corresponds to a specified file;
@@ -117,7 +117,7 @@ to compare the identity of filesystem objects
that were queried at different times and possibly
at different paths.
The
-.BR fanotify (7)
+.MR fanotify 7
subsystem can report events
with an information record containing a
.I file_handle
@@ -183,7 +183,7 @@ is interpreted relative to the directory referred to by
.IR dirfd ,
and a handle is returned for the file to which it refers.
(See
-.BR openat (2)
+.MR openat 2
for an explanation of why "directory file descriptors" are useful.)
.IP \[bu]
If
@@ -267,7 +267,7 @@ The
.I flags
argument
is as for
-.BR open (2).
+.MR open 2 .
If
.I handle
refers to a symbolic link, the caller must specify the
@@ -296,7 +296,7 @@ to indicate the error.
and
.BR open_by_handle_at ()
can fail for the same errors as
-.BR openat (2).
+.MR openat 2 .
In addition, they can fail with the errors noted below.
.P
.BR name_to_handle_at ()
@@ -458,9 +458,9 @@ with the
flag, and then passing the file descriptor as the
.I dirfd
argument in system calls such as
-.BR readlinkat (2)
+.MR readlinkat 2
and
-.BR fchownat (2).
+.MR fchownat 2 .
.SS Obtaining a persistent filesystem ID
The mount IDs in
.I /proc/self/mountinfo
@@ -482,7 +482,7 @@ record to search for the corresponding device UUID via the symbolic links in
.IR /dev/disks/by\-uuid .
(A more comfortable way of obtaining the UUID is to use the
.\" e.g., http://stackoverflow.com/questions/6748429/using-libblkid-to-find-uuid-of-a-partition
-.BR libblkid (3)
+.MR libblkid 3
library.)
That process can then be reversed,
using the UUID to look up the device name,
@@ -770,11 +770,11 @@ main(int argc, char *argv[])
.EE
.\" SRC END
.SH SEE ALSO
-.BR open (2),
-.BR libblkid (3),
-.BR blkid (8),
-.BR findfs (8),
-.BR mount (8)
+.MR open 2 ,
+.MR libblkid 3 ,
+.MR blkid 8 ,
+.MR findfs 8 ,
+.MR mount 8
.P
The
.I libblkid