MKFILE(8)
β¨ mkfile(8): create a file, from the System Manager's Manual β¨
okay bestie, you found the mkfile(8) page and honestly? it's giving βmake files that behaveβ π
. Let's get into it.
π NAME π
mkfile β create a file. that's it, that's the name, periodt π
πΈ SYNOPSIS πΈ
mkfile [-nv] size[b|k|m|g] file ...
π¦ DESCRIPTION π¦
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas. no cap, that's the whole point π«Ά.
The sticky bit is set, and by default the file is padded with zeroes. Non-root users must set the sticky bit using chmod(1) β so if that's you, grab chmod(1) and handle it, bestie β¨.
The default size unit is bytes, but you can use these suffixes to multiply by the given factor:
bβ multiply by512kβ multiply by1024mβ multiply by1048576gβ multiply by1073741824
π OPTIONS π
-nβ creates an empty filename. The size is noted, but disk blocks aren't allocated until data is written to them. it's lowkey βreserved, not furnishedβ energy ποΈ.-vβ verbose. reports the names and sizes of created files. main character behavior: it announces what it made π.
π¨ WARNING π¨
If a client's swap file is removed and recreated, it must be re-exported before the client will be able to access it. This action may only be done when the client is not running.
fr fr, do not skip this part π.
π SEE ALSO π
go read those next, iykyk π.
signed off by macOS, dated September 1, 1997, and filed under MKFILE(8) β mwah π
π¦ where this page comes from
- nixpkgs unstable: system_cmds 1042.100.6.0.1
- (c) 1997 Apple Computer, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms