CDIST-TYPE__MOUNT(7)

✨ cdist-type__mount ✨

okay bestie, gather round, we're talking about the manual page for cdist-type__mount β€” that's the cdist type that does filesystem mounts. (also, tiny detail, the original NAME line spells it cdit-type__mount, and honestly? we respect the typo era. it stays. πŸ’…)


NAME πŸŽ€

cdist-type__mount β€” manage filesystem mounts. that's it. that's the whole job. she mounts things. she unmounts things. she slays.


DESCRIPTION πŸ¦‹

so basically, this type manages filesystem mounts, and it can do it two whole ways: either through /etc/fstab or manually. pick your lane, babe. 🫢


REQUIRED PARAMETERS 🌸

None. nothing. zero. nada. you're free, you're unburdened, no required parameters, periodt. ✨


OPTIONAL PARAMETERS πŸ‘‘

  • device β€” the device you're mounting at path, default is 'none'. peep mount(8) for the deets.
  • dump β€” the value for the dump field in fstab, see fstab(5), defaults to 0. πŸ“
this one gets ignored if you pass the nofstab parameter. she simply does not participate.
  • options β€” a comma separated string of options, see mount(8). commas are the whole vibe here.
  • pass β€” the value for the pass field in fstab, see fstab(5), defaults to 0.
same deal as dump: ignored when the nofstab parameter is given. she's sitting this one out too.
  • path β€” the mount point where you mount the device, see mount(8). defaults to __object_id. yes, the object id is the main character by default. 🌈
  • state β€” either present or absent. defaults to present. πŸ¦‹
  • type β€” vfstype, see mount(8).

BOOLEAN PARAMETERS πŸ’–

  • nofstab β€” do not manage an entry in /etc/fstab. that's it, that's the flag. no fstab, no problem. πŸ™ˆ

EXAMPLES ⭐

here's her in her natural habitat, mounting a whole directory like it's nothing:

__mount /some/dir \
   --device /dev/sdc3 \
   --type xfs \
   --options "defaults,ro"
   --dump 0 \
   --pass 1

and here she is doing the fuse thing with the whole mfsmount situation:

__mount /var/lib/one \
   --device mfsmount \
   --type fuse \
   --options "mfsmaster=mfsmaster.domain.tld,mfssubfolder=/one,nonempty,_netdev"

(these are copied exactly as they appear, ok? we do not touch the backslash-continuations. πŸ’…)


AUTHORS πŸ’œ

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


COPYING 🧚

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


and that's the page!! this was version 7.0.0, dated Jul 31, 2022 β€” so if you're reading this from the future, hey bestie, hope the mounts are mounting. πŸ’–βœ¨πŸŽ€πŸ¦‹ no cap, go mount something iconic. πŸ’…

πŸ“¦ where this page comes from