File: HACKING

package info (click to toggle)
aptfs 2%3A1.0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 132 kB
  • sloc: python: 390; sh: 10; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Hacking AptFs
=============

Automatically pruning source packages
-------------------------------------

From `mount.aptfs --help`:

    [...]
    -o max_unpacked_packages=NUM
                           keep NUM packages unpacked at any one time
                           [default: 3]
    [...]

AptFs maintains a sliding window of unpacked sources packages -- it would not
be very helpful if commands such as:

 % find /path/to/aptfs

unpacked the entire APT archive into the temporary directory. This currently
works as follows:

  * When a fresh package is accessed, its name is entered at the beginning of
    the window.

  * Any package names that have fallen off the end of the window are deleted.