.. _mount: mount `````````````````````````````` .. versionadded:: 0.6 This module controls active and configured mount points in ``/etc/fstab``. .. raw:: html
parameter | required | default | choices | comments |
---|---|---|---|---|
src | yes | device to be mounted on name. | ||
state | yes |
|
If mounted or unmounted , the device will be actively mounted or unmounted as well as just configured in fstab. absent and present only deal with fstab. |
|
name | yes | path to the mount point, eg: /mnt/files |
||
dump | no | dump (see fstab(8)) | ||
passno | no | passno (see fstab(8)) | ||
opts | no | mount options (see fstab(8)) | ||
fstype | yes | file-system type |
Mount DVD read-only
mount name=/mnt/dvd src=/dev/sr0 fstype=iso9660 opts=ro