DOKK / manpages / debian 12 / cdist / cdist-type__mount.7.en
CDIST-TYPE__MOUNT(7) cdist CDIST-TYPE__MOUNT(7)

cdit-type__mount - Manage filesystem mounts

Manage filesystem mounts either via /etc/fstab or manually.

None.

device to mount at path, defaults to 'none'. see mount(8)
value for the dump field in fstab. see fstab(5) defaults to 0.

This parameter is ignored, if the nofstab parameter is given.

comma separated string of options, see mount(8)
value for the pass field in fstab. see fstab(5) defaults to 0.

This parameter is ignored, if the nofstab parameter is given.

mount point where to mount the device, see mount(8). Defaults to __object_id
either present or absent. Defaults to present.
vfstype, see mount(8)

do not manage an entry in /etc/fstab

__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"


Steven Armstrong <steven-cdist--@--armstrong.cc>

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.

ungleich GmbH 2021

January 15, 2023 7.0.0