mkfs.reiser4(8)
π mkfs.reiser4 β bestie's guide to making a reiser4 filesystem π
okay so this is mkfs.reiser4(8), from the reiser4progs manual, and it's literally the program for creating a reiser4 filesystem. yes queen, we're building filesystems from scratch. π
β¨ NAME β¨
mkfs.reiser4 β the program for creating reiser4 filesystem. that's it, that's the job. π
πΈ SYNOPSIS πΈ
mkfs.reiser4 [ options ] FILE1 FILE2 ... [ size[K|M|G] ]
like, you give it options, then one or more FILEs, and optionally a size with K, M or G glued on the end. slay. π¦
π DESCRIPTION π
mkfs.reiser4 is the reiser4 filesystem creation program. it's built on the new libreiser4 library. and because libreiser4 is fully plugin-based, we lowkey have the potential to create not just reiser4 partitions, but literally any filesystem or database format that's based on balanced trees. the range?? iconic. π₯
π COMMON OPTIONS π
-V,--versionβ prints program version. so you know what you're working with.-?,-h,--helpβ prints program help. bestie behavior honestly.-y,--yesβ assumes an answer'yes'to all questions. no more pop quizzes, it just says yes for you.-f,--forceβ forces mkfs to use whole disk, not block device or mounted partition. β οΈ this is the "i know what i'm doing" flag, so like, know what you're doing.
π MKFS OPTIONS π
-b,--block-size Nβ block size to be used (architecture page size by default).-L,--label LABELβ volume label to be used.-U,--uuid UUIDβ universally unique identifier to be used.-s,--lost-foundβ forces mkfs to createlost+founddirectory.-d,--discardβ tells mkfs to discard given device before creating the filesystem (for solid state drives). SSD girlies, this one's for you. π
π PLUGIN OPTIONS π
-p,--print-profileβ prints the plugin profile. this is the set of default plugins used for all parts of a filesystem β format, nodes, files, directories, hashes, etc. if--overrideis specified, then it prints modified plugins instead.-l,--print-pluginsβ prints all plugins libreiser4 know about. the whole roster, periodt.-o,--override TYPE=PLUGIN, ...β overrides the default plugin of the type"TYPE"by the plugin"PLUGIN"in the plugin profile.
π« Examples π«
assign short key plugin to "key" field in order to create filesystem with short keys policy:
mkfs.reiser4 -yf -o key=key_short /dev/hda2
π REPORTING BUGS π
report bugs to <reiserfs-devel@vger.kernel.org> β pls don't suffer in silence, the devs wanna hear it fr fr. π«Ά
π SEE ALSO π
measurefs.reiser4(8), debugfs.reiser4(8), fsck.reiser4(8)
go read those too, iykyk. β¨
π AUTHOR π
this manual page was written by Yury Umanets <umka@namesys.com>. thank you king. π
this page came from the reiser4progs manual and it's dated 02 Oct, 2002 β vintage but still serving. that's the whole page bestie, go make some filesystems responsibly ππβ
mkfs.reiser4(8) γ» reiser4progs γ» 02 Oct, 2002 πΈ
π¦ where this page comes from
- debian bookworm: reiser4progs 1.2.2-1+b1
- ubuntu jammy: reiser4progs 1.2.2-1build1
- ubuntu noble: reiser4progs 1.2.2-1build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms