2012-08-13 21:39:00 +02:00
|
|
|
.. _mount:
|
|
|
|
|
|
|
|
mount
|
|
|
|
`````
|
|
|
|
|
2012-08-15 04:07:00 +02:00
|
|
|
.. versionadded:: 0.6
|
|
|
|
|
2012-08-13 21:39:00 +02:00
|
|
|
The mount module controls active and configured mount points (fstab).
|
|
|
|
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| parameter | required | default | comments |
|
|
|
|
+====================+==========+=========+============================================================================+
|
|
|
|
| name | yes | | path to the mountpoint, ex: /mnt/foo |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| src | yes | | device to be mounted |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| fstype | yes | | fstype |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| opts | no | | mount options (see fstab docs) |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| dump | no | | dump (see fstab docs) |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| passno | no | | passno (see fstab docs) |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
|
|
| state | yes | | 'present', 'absent', 'mounted', or 'unmounted'. If mounted/unmounted, |
|
|
|
|
| | | | the device will be actively mounted or unmounted as well as just |
|
|
|
|
| | | | configured in fstab. 'absent', and 'present' only deal with fstab. |
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|