MKEXFATFS(8)
π MKEXFATFS(8) β mkexfatfs, from the System Manager's Manual, section 8 π
okay so bestie, buckle up, because we're making a file system today and honestly? it's giving main character energy β¨
πΈ NAME πΈ
mkexfatfs β create an exFAT file system. that's it, that's the whole vibe. you point it at a device and it makes an exFAT file system appear. iconic behavior honestly π
π¦ SYNOPSIS π¦
mkexfatfs [ -i volume-id ] [ -n volume-name ] [ -p partition-first-sector ]
[ -s sectors-per-cluster ] [ -V ] device
(yeah the original wraps that line too, she's long, we respect her π)
π« DESCRIPTION π«
mkexfatfs creates an exFAT file system on a block device. device is a special file corresponding to the partition on the device β like, the actual thing you're formatting, not just any old path, okay? π«Ά
β οΈ big important heads-up: if this is an MBR partition, then the file system type should be set to 0x07 (NTFS/exFAT) β otherwise other operating systems may refuse to mount the file system. no cap, set it right or they'll just ghost you π
β¨ OPTIONS β¨
Command line options available, aka the little knobs you can twist:
-i volume-idβ a 32-bit hexadecimal number. by default a value based on current time is set, so she picks a lil timestamp for herself π°οΈ-n volume-nameβ volume name (label), up to 15 characters. by default no label is set. keep it short and cute, 15 char max, that's the law π-p partition-first-sectorβ first sector of the partition starting from the beginning of the whole disk. so here's the tea: the exFAT super block has a field for this value but in fact it's optional and does not affect anything π. default is0.-s sectors-per-clusterβ number of physical sectors per cluster (cluster is an allocation unit in exFAT, iykyk). must be a power of 2, i.e.1,2,4,8, etc. cluster size can not exceed32 MB. default cluster sizes are:4 KBif volume size is less than256 MB,32 KBif volume size is from256 MBto32 GB,128 KBif volume size is32 GBor larger. she scales with you, queen π-Vβ print version and copyright. just a lil flex, no formatting happens π
π EXIT CODES π
Zero is returned on successful creation. any other code means an error. so if you see 0, slay, you ate π if not... girl, something went wrong π
π§ AUTHOR π§
Andrew Nayenko β the legend who made this happen π«Ά
β SEE ALSO β
mkfs(8), fdisk(8) β go read those too bestie, they're the supporting cast π¦
okay that's the whole page! this was brought to you by the System Manager's Manual, dated January 2014 π now go forth and format responsibly, and remember: setting the partition type to 0x07 is the bare minimum, periodt π
β¨
π¦ where this page comes from
- alpine 3.24: fuse-exfat-doc 1.4.0-r2 Β· GPL-2.0-or-later
- arch rolling: exfat-utils 1.4.0-4 Β· GPL2
- nixpkgs unstable: exfat 1.4.0
- opensuse-leap 16.0: exfat-utils 1.4.0-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: exfat-utils 1.4.0-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: exfat-utils 1.4.0-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: exfat-utils 1.4.0-bp160.1.12 Β· GPL-2.0-or-later
- Copyright (C) 2011-2023 Andrew Nayenko
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms