MKFS.SSDFS(8)
π MKFS.SSDFS(8) β the mkfs one, section 8 of the system admin commands, bestie
okay so real talk, this is mkfs.ssdfs from ssdfs-utils, and it is literally the "make me a filesystem" girlie of the SSDFS world. section 8, system administration commands, you know the vibe. let's go π
β¨ NAME β¨
mkfs.ssdfs β create volume of SSDFS file system π¦
β¨ SYNOPSIS β¨
mkfs.ssdfs [options] device
β¨ DESCRIPTION β¨
mkfs.ssdfs creates an SSDFS file system on a given device or image file. that's the whole job and she does it flawlessly, no cap.
SSDFS is a flash-friendly file system designed with goals to:
- take into account the open-channel SSD model π₯
- decrease as much as possible the write amplification issue
- decrease as much as possible the GC activity
- widely use the compression, delta-encoding, and deduplication
- prolong SSD lifetime π
- decrease TCO cost of data infrastructure
like⦠she's not just a filesystem, she's a lifestyle. periodt.
β¨ OPTIONS β¨
-B,--blkbmaphas_copy,compression=(none|zlib|lzo)β block bitmap options, bestie. thehas_copyoption enables backup copy, andcompressionsets the compression type. π-C,--compression(none|zlib|lzo)β global compression type support. your options are literally:none,zlib,lzo.-D,--nand-diescount β NAND dies count. must be an even number, no exceptions, she said what she said π«Ά-d,--debugβ show debug output. for when you need to know everything.-e,--erasesizesize β erase size of target device. supported sizes:128KB,256KB,512KB,1MB,2MB,4MB,8MB, and larger powers of 2.-f,--forceβ force overwrite of existing filesystem π careful, she will not ask twice.-h,--helpβ display help message and exit. our little escape hatch β¨-i,--inode_sizesize β inode size in bytes. supported sizes:256B,512B,1KB,2KB,4KB.-j,--threadsnumber β define erase threads number. more threads, more main character energy.-L,--labellabel β set a volume label π name her something cute.-M,--maptblhas_copy,stripes_per_fragment=value,...β PEB mapping table options. full syntax, verbatim:
has_copy,stripes_per_fragment=value,fragments_per_peb=value,log_pages=value,migration_threshold=value,reserved_pebs_per_fragment=percentage,compression=(none|zlib|lzo)
-m,--migration-thresholdvalue β max amount of migration PEBs for segment.-O,--offsets_tablehas_copy,compression=(none|zlib|lzo)β offsets table options.-p,--pagesizesize β page size of target device. supported sizes:4KB,8KB,16KB,32KB.-q,--quietβ quiet execution (useful for scripts). shhh π€«-R,--erase-deviceβ erase whole device or partition by mkfs. whole thing. all of it. π-S,--segbmaphas_copy,segs_per_chain=value,...β segment bitmap options. full syntax, again verbatim:
has_copy,segs_per_chain=value,fragments_per_peb=value,log_pages=value,migration_threshold=value,compression=(none|zlib|lzo)
-s,--segsizesize β segment size of target device. supported sizes:128KB,256KB,512KB,1MB,2MB,4MB,8MB,16MB,32MB,64MB, and larger powers of 2.-T,--btreenode_size=value,min_index_area_size=value,...β btrees' options. full syntax:
node_size=value,min_index_area_size=value,leaf_node_log_pages=value,hybrid_node_log_pages=value,index_node_log_pages=value
-U,--user_data_segmentlog_pages=value,...β user data segment options. full syntax:
log_pages=value,migration_threshold=value,compression=(none|zlib|lzo)
-V,--versionβ print version and exit.
β οΈ heads up:-f/--forceoverwrites an existing filesystem, and-R/--erase-deviceerases the whole device or partition. that's destructive. double-check yourdeviceargument before you hit enter, i'm begging π
β¨ EXIT STATUS β¨
mkfs.ssdfs exits with status 0 on success, or with non-zero status on error. slay when it's zero, crying when it's not π
β¨ EXAMPLES β¨
create SSDFS filesystem on /dev/sdb1:
# mkfs.ssdfs /dev/sdb1
create SSDFS filesystem with 8KB page size and ZLIB compression:
# mkfs.ssdfs -p 8KB -C zlib /dev/sdb1
create SSDFS filesystem with custom label:
# mkfs.ssdfs -L MyStorage /dev/sdb1
β¨ SEE ALSO β¨
fsck.ssdfs(8), tune.ssdfs(8), dump.ssdfs(8) β the rest of the friend group π«Ά iykyk.
β¨ AUTHORS β¨
Viacheslav Dubeyko <slava@dubeyko.com> β the icon, the legend π
β¨ COPYRIGHT β¨
Copyright (c) 2014-2026 Viacheslav Dubeyko
SPDX-License-Identifier: BSD-3-Clause-Clear
and that's the whole page, bestie π β brought to you by ssdfs-utils, dated 2025-08-30, signed off with a kiss and a mkfs.ssdfs(8) πβ¨
π¦ where this page comes from
- nixos 26.05: ssdfs-utils 4.68
- nixpkgs unstable: ssdfs-utils 4.68
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms