docs: Fix mount shell block

This commit is contained in:
tschettervictor
2025-04-11 16:36:39 -06:00
committed by GitHub
parent 07f532dec6
commit cbaf042e5d

View File

@@ -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.
Example: Mount a tmpfs filesystem with options.
.. code-block:: shell
ishmael ~ # bastille mount azkaban tmpfs tmp tmpfs rw,nosuid,mode=01777 0 0
Detected advanced mount type tmpfs
[azkaban]:
Added: tmpfs /usr/local/bastille/jails/azkaban/root/tmp tmpfs rw,nosuid,mode=01777 0 0
Example: Mount a nullfs filesystem
.. code-block:: shell
ishmael ~ # bastille mount azkaban /storage/foo media/foo nullfs ro 0 0
@@ -59,4 +63,4 @@ It is possible to do the same for the jail path, but again, not recommemded.
Options:
-a | --auto Auto mode. Start/stop jail(s) if required.
-x | --debug Enable debug mode.
-x | --debug Enable debug mode.