mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 17:57:58 +08:00
posix-users/input_and_output.rst: Document errors for mount() and unmount()
This commit is contained in:
parent
0522994231
commit
5628d8b99a
@ -663,7 +663,14 @@ mount - Mount a file system
|
|||||||
|
|
||||||
**STATUS CODES:**
|
**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:**
|
**DESCRIPTION:**
|
||||||
|
|
||||||
@ -678,7 +685,7 @@ returned in ``mt_entry``.
|
|||||||
|
|
||||||
**NOTES:**
|
**NOTES:**
|
||||||
|
|
||||||
NONE
|
This method is not defined in the POSIX standard.
|
||||||
|
|
||||||
.. _unmount:
|
.. _unmount:
|
||||||
|
|
||||||
@ -698,7 +705,11 @@ unmount - Unmount file systems
|
|||||||
|
|
||||||
**STATUS CODES:**
|
**STATUS CODES:**
|
||||||
|
|
||||||
*EXXX*
|
* - ``EBUSY``
|
||||||
|
- Filesystem is in use or the root filesystem.
|
||||||
|
|
||||||
|
* - ``EACCESS``
|
||||||
|
- Unable to allocate memory needed.
|
||||||
|
|
||||||
**DESCRIPTION:**
|
**DESCRIPTION:**
|
||||||
|
|
||||||
@ -707,7 +718,7 @@ The ``unmount`` routine removes the attachment of the filesystem specified by
|
|||||||
|
|
||||||
**NOTES:**
|
**NOTES:**
|
||||||
|
|
||||||
NONE
|
This method is not defined in the POSIX standard.
|
||||||
|
|
||||||
.. _readv:
|
.. _readv:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user