CDIST-TYPE__INSTALL_MKFS(7)

πŸ’– cdist-type__install_mkfs πŸ’–

ok so bestie, you found the page for cdist-type__install_mkfs β€” that's the cdist type that's literally just a glow-up wrapper around the mkfs command, and it's here to build you a linux file system. πŸŽ€


✨ NAME ✨

cdist-type__install_mkfs β€” build a linux file system, no cap πŸ¦‹


🌸 DESCRIPTION 🌸

This cdist type is a wrapper for the mkfs command. that's it. that's the whole vibe. it wraps it, it runs it, you get a file system. iconic behavior honestly πŸ’…


πŸ”₯ REQUIRED PARAMETERS πŸ”₯

bestie you have to give it this one, it's not optional, it's the main character:

  • type β€” the filesystem type to use. same thing you'd hand to mkfs -t. that's the assignment, periodt. πŸ‘‘

πŸ’œ OPTIONAL PARAMETERS πŸ’œ

these ones you can skip, but they're cute if you need them:

  • device β€” defaults to object_id. so if you don't say anything, it just uses your object_id and moves on with its life. 🫢
  • options β€” file system-specific options to be passed to the mkfs command. the little extra flavor. ✨
  • blocks β€” the number of blocks to be used for the file system. 🧚

🌈 EXAMPLES 🌈

here's the receipts, bestie, run these exactly as written:

# reiserfs /dev/sda5
__install_mkfs /dev/sda5 --type reiserfs

# same thing with explicit device
__install_mkfs whatever --device /dev/sda5 --type reiserfs

# jfs with journal on /dev/sda2
__install_mkfs /dev/sda1 --type jfs --options "-j /dev/sda2"

see how the third one spells out --device? same energy as the first, just louder. and the last one is out here journaling on /dev/sda2 while making the filesystem on /dev/sda1 β€” multitasking queen. πŸ’€


πŸ‘€ SEE ALSO πŸ‘€

  • mkfs(8) β€” go say hi, that's the whole parent command iykyk

πŸ’– AUTHORS πŸ’–

  • Steven Armstrong <steven-cdist--@--armstrong.cc> β€” thank you king, we love you πŸ’œ

πŸ“œ COPYING πŸ“œ

Copyright (C) 2011 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 whole page bestie!! πŸŽ€ this was cdist version 7.0.0, dated Jul 31, 2022, and yes it was literally giving manual-page realness. go forth and mkfs responsibly, mwah πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from