81 lines
1.5 KiB
Text
81 lines
1.5 KiB
Text
|
cdist-type__mount(7)
|
||
|
====================
|
||
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
||
|
|
||
|
|
||
|
NAME
|
||
|
----
|
||
|
cdist-type__mount - manage filesystem mounts
|
||
|
|
||
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
Manage filesystem mounts either via /etc/fstab or manually.
|
||
|
|
||
|
|
||
|
REQUIRED PARAMETERS
|
||
|
-------------------
|
||
|
None.
|
||
|
|
||
|
|
||
|
OPTIONAL PARAMETERS
|
||
|
-------------------
|
||
|
device::
|
||
|
device to mount at path, defaults to 'none'. see mount(8)
|
||
|
|
||
|
dump::
|
||
|
value for the dump field in fstab. see fstab(5)
|
||
|
defaults to 0.
|
||
|
|
||
|
options::
|
||
|
comma separated string of options, see mount(8)
|
||
|
|
||
|
pass::
|
||
|
value for the pass field in fstab. see fstab(5)
|
||
|
defaults to 0.
|
||
|
|
||
|
path::
|
||
|
mount point where to mount the device, see mount(8).
|
||
|
Defaults to __object_id
|
||
|
|
||
|
state::
|
||
|
either present or absent. Defaults to present.
|
||
|
|
||
|
type::
|
||
|
vfstype, see mount(8)
|
||
|
|
||
|
|
||
|
BOOLEAN PARAMETERS
|
||
|
------------------
|
||
|
nofstab::
|
||
|
do not manage an entry in /etc/fstab
|
||
|
|
||
|
|
||
|
EXAMPLES
|
||
|
--------
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
__mount /some/dir \
|
||
|
--device /dev/sdc3 \
|
||
|
--type xfs \
|
||
|
--options "defaults,ro"
|
||
|
--dump 0 \
|
||
|
--pass 1
|
||
|
|
||
|
__mount /var/lib/one \
|
||
|
--device mfsmount \
|
||
|
--type fuse \
|
||
|
--options "mfsmaster=mfsmaster.domain.tld,mfssubfolder=/one,nonempty,_netdev"
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
SEE ALSO
|
||
|
--------
|
||
|
- cdist-type(7)
|
||
|
|
||
|
|
||
|
COPYING
|
||
|
-------
|
||
|
Copyright \(C) 2014 Steven Armstrong. Free use of this software is
|
||
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|