cacheadm(1)
π cacheadm β bestie edition π
okay so real talk: this is cacheadm, a ShapeTools manual page from section 1, and it's literally the girlboss who runs your AtFS derived object cache. she does administering AND configuring, which is a lot for one icon but she ate π
β¨ NAME β¨
cacheadm β administer and configure AtFS derived object cache π
π¦ SYNOPSIS π¦
cacheadm [-Amax_cached_per_cacheattr] [-Nmax_cached_per_name]
[-Tmax_total_cached] [-q] [-v] directories
πΈ DESCRIPTION πΈ
so cacheadm gives you control over the size of a derived object cache. you get to set:
- the max total number (T) of derived files to be stored
- the max number of derived files per name (N)
- the max number of derived files with the same name and the same caching attribute (A)
and if you call it with no options at all? it just returns the actual sizes of the derived object caches in the directories you named. an empty list of directories makes cacheadm operate on the current directory. cute, low effort, we love that for her π
the relationship between those three cache size values must always be:
T >= N >= A
like, that's the law. periodt. the whole caching attribute mechanism is described over on the af_cache(3) manual page if you wanna go deeper (iykyk π).
when you're calculating your caching sizes, keep in mind that you may set the total size (T) to any value you want, but your cache will never grow bigger than N*number_of_names. and Number_of_names is the number of source object histories in your directories, where derived objects may be compiled from. so if you set T to some astronomic value, the cache just adapts its size to the number of source histories automatically. she's self-regulating, main character energy β¨
π«Ά the tea you need to know: in the current implementation, the caching sizes can only be increased. reduction of the maximum cache size is only possible when the cache is empty. so if you wanna shrink it you have to clean your cache first with atfsrepair -C (1). no shortcuts bestie, clean your room before you redecorate π§Ή
π OPTIONS π
-Amax_cached_per_cacheattr β sets the max number of derived files with the same name and the same caching attribute to be stored. default is1.-Nmax_cached_per_name β sets the max number of derived files with the same name to be stored. default is3.-Tmax_total_cached β sets the total maximum number of derived files to be stored in the derived object cache. default is64.-qβ quiet operation π suppresses any output to stdout. this option does not affect error messages (stderr) β those still show up, sorry bestie, the drama stays.-vβ outputs the version identification string. β¨
π 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 was AtFS-1.71, dated Thu Jan 13 15:30:55 1994 β yes she's vintage, no she's not outdated, she's iconic β go set your cache sizes responsibly π¦πΈ
π¦ 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