cdist/cdist/conf/type/__mount/man.rst

85 lines
1.6 KiB
ReStructuredText
Raw Normal View History

cdist-type__mount(7)
====================
NAME
----
cdit-type__mount - Manage filesystem mounts
DESCRIPTION
-----------
Manage filesystem mounts either via /etc/fstab or manually.
REQUIRED PARAMETERS
-------------------
None.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
device
device to mount at path, defaults to 'none'. see mount(8)
2016-05-20 06:50:56 +00:00
dump
value for the dump field in fstab. see fstab(5)
defaults to 0.
This parameter is ignored, if the nofstab parameter is given.
2016-05-20 06:50:56 +00:00
options
comma separated string of options, see mount(8)
2016-05-20 06:50:56 +00:00
pass
value for the pass field in fstab. see fstab(5)
defaults to 0.
This parameter is ignored, if the nofstab parameter is given.
2016-05-20 06:50:56 +00:00
path
mount point where to mount the device, see mount(8).
Defaults to __object_id
2016-05-20 06:50:56 +00:00
state
either present or absent. Defaults to present.
2016-05-20 06:50:56 +00:00
type
vfstype, see mount(8)
BOOLEAN PARAMETERS
------------------
2016-05-20 06:50:56 +00:00
nofstab
do not manage an entry in /etc/fstab
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
__mount /some/dir \
--device /dev/sdc3 \
--type xfs \
--options "defaults,ro"
--dump 0 \
--pass 1
2016-05-20 06:50:56 +00:00
__mount /var/lib/one \
--device mfsmount \
--type fuse \
--options "mfsmaster=mfsmaster.domain.tld,mfssubfolder=/one,nonempty,_netdev"
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
-------
2016-08-10 16:15:54 +00:00
Copyright \(C) 2014 Steven Armstrong. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.