mkatfs(1)
πΈ mkatfs(1) β ShapeTools edition, bestie π
okay so real quick, the manual name is mkatfs(1) and it's from ShapeTools, and we're about to have a whole moment about it. buckle up π
β¨ NAME β¨
mkatfs β create and configure AtFS object repository and derived object cache
like. that's the whole vibe. it makes repos, it links repos, it configures repos. iconic behavior only π
π¦ SYNOPSIS π¦
mkatfs [-cAmax_cached_per_cacheattr] [-cNmax_cached_per_name]
[-cTmax_total_cached] [-cQ] [-ggroup] [-h] [-lpath] [-mmode] [-v]
pathnames
π DESCRIPTION π
so mkatfs is literally the girl who does four jobs at once and does them all flawlessly. she can:
- create an AtFS object repository
- link an existing repository
- configure a repository
- set the size attributes of a derived object cache
and she does all of that for every directory that shows up in the pathnames list. no skipping, no favorites. if the list is empty? she just does her thing in the current directory. lowkey considerate of her ngl π«Ά
creating an AtFS object repository means she makes a directory named AtFS with several files and subdirectories inside it. it's giving new apartment, fully furnished β¨
π the -l link arc
the -l option makes mkatfs link an existing AtFS repository to the current directory (or to the directories in the pathnames list). -l expects a pathname as its argument β that pathname points to a directory containing an AtFS repository, or to a link to an AtFS repository. and yes bestie, links may be chained. we love a chain π
when she's linking a repository, mkatfs either creates a symbolic link or β if symbolic links are not available on your system β a file containing the name of the target directory. and AtFS will interpret that file like a symbolic link. periodt.
π οΈ the configuring arc
configuring an AtFS repository means the group and the protection may be changed. those operations perform a chgrp(1) and a chmod(1) operation on the AtFS directory and all its subdirectories. every single one. she's thorough like that π€
ποΈ the cache size arc (the math is real)
the -cT, -cN, and -cA options set the size of the derived object cache in the created AtFS object repository. you can set:
- the maximum total number (
cT) of derived files to be stored - the maximum number of derived files per name (
cN) - the maximum number of derived files with the same name and the same caching attribute (
cA)
and the relationship of the three values must always be cT >= cN >= cA. no cap, this is not negotiable, the universe will simply not allow otherwise π
for more info on that topic, go check the cacheadm(1) manual page, she's the source fr fr.
the -cQ option queries the actual settings for the derived object cache size. it's the "wait what are my settings rn" button π
π OPTIONS π
-cAmax_cached_per_cacheattr β set the maximum number of derived files with the same name and the same caching attribute to be stored. default is1.-cNmax_cached_per_name β set the maximum number of derived files with the same name to be stored. default is3.-cTmax_total_cached β set the total maximum number of derived files to be stored in the derived object cache. default is64.-ggroup β set the group id of the generated directory to group (seechgrp(1)).-hβ display help message. she's helpful AND pretty πΈ-lpath β create an AtFS directory entry by setting a symbolic link to an existing AtFS object repository, rather than creating a new (empty) one. on System V machines, a file containing the target directory name will be generated instead. the AtFS functions will interpret this as a surrogate for a symbolic link.-mmode β set the mode of all generated directories to mode (seechmod(1)).-vβ output version identification string. the classic "who am i" moment π
π SEE ALSO π
chgrp(1), chmod(1), atfsrepair(1), af_cache(3)
π«Ά AUTHOR π«Ά
Andreas.Lampen@cs.tu-berlin.de
and that's the whole page, bestie!! this one came from AtFS-1.71, dated Mon Aug 8 13:28:26 1994 β yes she's an elder but she's still slaying, fr fr πβ¨π go forth and make your repositories, ily π
π¦ where this page comes from
- debian bookworm: atfs 1.4pl6-15+b1
- ubuntu jammy: atfs 1.4pl6-15
- ubuntu noble: atfs 1.4pl6-16.1build1
- ubuntu resolute: atfs 1.4pl6-17
- ubuntu stonking: atfs 1.4pl6-17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms