MKFS.CPM(1)

πŸ“¦
version 2.23 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’Ύ mkfs.cpm β€” bestie edition πŸ’Ύ

okay so this is a page from the User commands manual, and yes it's mkfs.cpm and yes it's about to become your new obsession. sit down, grab a boba, we're making file systems 🫢


✨ NAME ✨

mkfs.cpm β€” make a CP/M file system πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

mkfs.cpm [-f format] [-b boot] [-L label] [-t] [-u] image

🌸 DESCRIPTION 🌸

so basically mkfs.cpm makes a CP/M file system on an image file or device. that's it. that's the whole vibe. it takes your image and gives it a whole file system, main character energy, no cap ✨


πŸ’– OPTIONS πŸ’–

  • -f format β€” use the given CP/M disk format instead of the default format. like, pick your format, queen πŸ‘‘
  • -b bootblock β€” write the contents of the file bootblock to the system tracks instead of filling them with 0xe5. this option can be used up to four times. the file contents (typically boot block, CCP, BDOS and BIOS) are written to sequential sectors, padding with 0xe5 if needed. literally booting your whole system into place, slay πŸ”₯
  • -L label β€” label the file system. this is only supported by CP/M Plus, so if you're on something older, it's giving ✨not available✨ iykyk
  • -t β€” create time stamps. clock it, bestie ⏰
  • -u β€” show all CP/M file names in upper case. LOUD AND PROUD, ALL CAPS, PERIODT πŸ“’

πŸ¦‹ RETURN VALUE πŸ¦‹

upon successful completion, exit code 0 is returned. that's the green flag, we love to see it πŸ’š


πŸ’€ ERRORS πŸ’€

any errors are indicated by exit code 1. not the vibe. we don't stan 😭


🌈 ENVIRONMENT 🌈

  • CPMTOOLSFMT β€” default format. it's literally the fallback format when you don't say which one you want 🧚

πŸ“ FILES πŸ“

  • /etc/cpmtools/diskdefs β€” CP/M disk format definitions. all the format lore lives here πŸ“–

πŸ‘‘ AUTHORS πŸ‘‘

this program is copyright 1997–2021 Michael Haardt <michael@moria.de>. the Windows port is copyright 2000, 2001, 2011 John Elliott <jce@seasip.demon.co.uk>. legends, honestly 🫢

this program is free software; 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.

this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. (translation: it's free, it's open, but don't come for them if it breaks πŸ’€)

you should have received a copy of the GNU General Public License along with this program. if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


πŸ’œ SEE ALSO πŸ’œ

fsck.cpm(1), cpmls(1), mkfs(1), cpm(5)

go read those next, bestie, they're all in the same friend group πŸ¦‹


and that's the whole page, mwah πŸ’‹ it came from the CP/M tools manual, dated November 2, 2022 β€” so like, vintage but make it iconic. stay slaying, stay formatted βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from