summaryrefslogtreecommitdiff
path: root/static/v10/man2/labmount.2
diff options
context:
space:
mode:
Diffstat (limited to 'static/v10/man2/labmount.2')
-rw-r--r--static/v10/man2/labmount.225
1 files changed, 25 insertions, 0 deletions
diff --git a/static/v10/man2/labmount.2 b/static/v10/man2/labmount.2
new file mode 100644
index 00000000..309bbece
--- /dev/null
+++ b/static/v10/man2/labmount.2
@@ -0,0 +1,25 @@
+.TH LABMOUNT 2
+.SH NAME
+labmount \- return file system ceiling label
+.SH SYNOPSIS
+.B int labmount(fd, lp)
+.br
+.B struct label *lp;
+.SH DESCRIPTION
+If the file with descriptor
+.I fd
+resides in a file system,
+.I labmount
+copies the ceiling label of that file system into
+the place pointed to by
+.I lp.
+If the file does not reside in a file system, the
+ceiling is reported to be
+.BR L_YES ;
+see
+.IR getflab (2).
+.SH SEE ALSO
+.IR fmount (2)
+.SH DIAGNOSTICS
+.L
+EBADF, EFAULT, EIO, ELOOP, ENOENT, ENOTDIR