MKFS.CPM(1)
πΎ 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 π
-fformat β use the given CP/M disk format instead of the default format. like, pick your format, queen π-bbootblock β write the contents of the file bootblock to the system tracks instead of filling them with0xe5. 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 with0xe5if needed. literally booting your whole system into place, slay π₯-Llabel β 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
- debian bookworm: cpmtools 2.23-4
- debian trixie: cpmtools 2.23-7
- ubuntu noble: cpmtools 2.23-5build1
- ubuntu questing: cpmtools 2.23-7
- ubuntu resolute: cpmtools 2.23-7build1
- ubuntu stonking: cpmtools 2.23-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms