CDIST-TYPE__IN...PARTITION_MSDOS(7)

πŸ’– CDIST-TYPE__INSTALL_PARTITION_MSDOS(7) πŸ’–

okay bestie, so this is the manual page for cdist-type__install_partition_msdos β€” part of the cdist fam, section 7. pull up a chair, we're carving up disks πŸŽ€


✨ NAME ✨

cdist-type__install_partition_msdos β€” she makes msdos partitions, that's the whole job πŸ’…


🌸 DESCRIPTION 🌸

This cdist type lets you create msdos paritions. yes literally that's it, that's the vibe β€” you want msdos partitions, she gives you msdos partitions, no cap πŸ¦‹


πŸ‘‘ REQUIRED PARAMETERS πŸ‘‘

  • type β€” the partition type used in fdisk (something like 82 or 83) or "extended". you literally cannot skip this one, it's required fr fr

πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • device β€” the device we're working on. defaults to the string prefix of --partition ✨
  • minor β€” the partition number we're working on. defaults to the numeric suffix of --partition πŸ”’
  • partition β€” defaults to object_id πŸ’–
  • bootable β€” mark partition as bootable, true or false, defaults to false πŸ₯Ύ
  • size β€” the size of the partition (like 32M or 15G, whole numbers only), '+' for remaining space, or 'n%' for percentage of remaining. heads up: those last two should only be used after all the specific partition sizes are specified 🫢 defaults to +.

🌈 EXAMPLES 🌈

# 128MB, linux, bootable
__install_partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
# 512MB, swap
__install_partition_msdos /dev/sda2 --type 82 --size 512M
# 100GB, extended
__install_partition_msdos /dev/sda3 --type extended --size 100G
# 10GB, linux
__install_partition_msdos /dev/sda5 --type 83 --size 10G
# 50% of the free space of the extended partition, linux
__install_partition_msdos /dev/sda6 --type 83 --size 50%
# rest of the extended partition, linux
__install_partition_msdos /dev/sda7 --type 83 --size +
# nvm device partition 2
__install_partition_msdos /dev/nvme0n1p2 --device /dev/nvme0n1 --minor 2 --type 83 --size 128M --bootable true

like look at her go, sda1 through sda7 plus a little nvme moment at the end, iconic πŸ”₯


πŸ’œ AUTHORS πŸ’œ

Steven Armstrong <steven-cdist--@--armstrong.cc> β€” the actual legend behind this one 🌟


🧚 COPYING 🧚

Copyright (C) 2011-2017 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 β€” cdist version 7.0.0, dated Jul 31, 20, and yes we ate πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from