From 5628d8b99a02ecde8d9b0ad6bc84c7845423b890 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 21 Nov 2018 13:59:15 -0600 Subject: posix-users/input_and_output.rst: Document errors for mount() and unmount() --- posix-users/input_and_output.rst | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/posix-users/input_and_output.rst b/posix-users/input_and_output.rst index b6f2a57..92ffbc1 100644 --- a/posix-users/input_and_output.rst +++ b/posix-users/input_and_output.rst @@ -663,7 +663,14 @@ mount - Mount a file system **STATUS CODES:** -*EXXX* + * - ``ENOMEM`` + - Unable to allocate memory needed. + + * - ``EINVAL`` + - The filesystem does not support being mounted. + + * - ``EINVAL`` + - Attempt to mount a read-only filesystem as writeable. **DESCRIPTION:** @@ -678,7 +685,7 @@ returned in ``mt_entry``. **NOTES:** -NONE +This method is not defined in the POSIX standard. .. _unmount: @@ -698,7 +705,11 @@ unmount - Unmount file systems **STATUS CODES:** -*EXXX* + * - ``EBUSY`` + - Filesystem is in use or the root filesystem. + + * - ``EACCESS`` + - Unable to allocate memory needed. **DESCRIPTION:** @@ -707,7 +718,7 @@ The ``unmount`` routine removes the attachment of the filesystem specified by **NOTES:** -NONE +This method is not defined in the POSIX standard. .. _readv: -- cgit v1.2.3