mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-16 07:15:49 +01:00
38 lines
996 B
ReStructuredText
38 lines
996 B
ReStructuredText
umount
|
|
======
|
|
|
|
Unmount storage from jail(s).
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille umount azkaban /media/foo
|
|
[azkaban]:
|
|
Unmounted: /usr/local/bastille/jails/jail4/root/media/foo
|
|
ishmael ~ # bastille umount azkaban /mnt/etc/rc.conf
|
|
[azkaban]:
|
|
Unmounted: /usr/local/bastille/jails/jail4/root/mnt/etc/rc.conf
|
|
|
|
Syntax requires only the jail path to unmount.
|
|
|
|
.. code-block:: shell
|
|
|
|
Usage: bastille umount TARGET JAIL_PATH
|
|
|
|
If the directory you are unmounting has spaces, make sure to escape them with a
|
|
backslash \, and enclose the mount point in quotes "".
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille umount azkaban "/media/foo\ with\ spaces"
|
|
[azkaban]:
|
|
Unmounted: /usr/local/bastille/jails/jail4/root/media/foo with spaces
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille umount help
|
|
Usage: bastille umount [option(s)] TARGET JAIL_PATH
|
|
|
|
Options:
|
|
|
|
-a | --auto Auto mode. Start/stop jail(s) if required.
|
|
-x | --debug Enable debug mode. |