mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 01:30:52 +01:00
docs: Fix mount shell block
This commit is contained in:
@@ -12,12 +12,16 @@ Syntax follows standard ``/etc/fstab`` format:
|
|||||||
The ``options`` string can include a comma-separated list of mount options, but must include one of (rw,ro,rq,sw,xx) according to fstab documentation.
|
The ``options`` string can include a comma-separated list of mount options, but must include one of (rw,ro,rq,sw,xx) according to fstab documentation.
|
||||||
|
|
||||||
Example: Mount a tmpfs filesystem with options.
|
Example: Mount a tmpfs filesystem with options.
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
ishmael ~ # bastille mount azkaban tmpfs tmp tmpfs rw,nosuid,mode=01777 0 0
|
ishmael ~ # bastille mount azkaban tmpfs tmp tmpfs rw,nosuid,mode=01777 0 0
|
||||||
Detected advanced mount type tmpfs
|
Detected advanced mount type tmpfs
|
||||||
[azkaban]:
|
[azkaban]:
|
||||||
Added: tmpfs /usr/local/bastille/jails/azkaban/root/tmp tmpfs rw,nosuid,mode=01777 0 0
|
Added: tmpfs /usr/local/bastille/jails/azkaban/root/tmp tmpfs rw,nosuid,mode=01777 0 0
|
||||||
|
|
||||||
|
Example: Mount a nullfs filesystem
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
ishmael ~ # bastille mount azkaban /storage/foo media/foo nullfs ro 0 0
|
ishmael ~ # bastille mount azkaban /storage/foo media/foo nullfs ro 0 0
|
||||||
|
|||||||
Reference in New Issue
Block a user