mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 08:12:53 +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.
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user