1
=======================
2
plainbox-file-units (7)
3
=======================
8
This page documents the Plainbox file units syntax and runtime behavior
13
The file unit is a internal implementation detail at this time.
14
It is technically a Unit but it currently cannot be defined in a unit definition
15
file as the 'unit: file' association is not exposed.
17
File units are useful as an abstraction that everything is an unit. It allows
18
the core to validate file properties (name, role, permissions) in context.
19
Currently the unit is very fresh and relatively under-used but it is expected
20
to replace many internal ad-hoc enumeration systems that deal with files.
25
There are two fields that are used by the file unit:
28
This field defines the full, absolute path of the file that the unit is
29
describing. Note that this is not an identifier as it is more natural to
30
discuss files in terms of filenames rather than some abstract identifiers.
33
This field defines the purpose of the file in a given provider. This field
34
may hold one of several supported values:
37
The file is a source of unit definitions. Currently this is the only
38
actually implemented value.
41
This file is a legacy whitelist.
44
This file is an architecture independent executable.
47
This file is an architecture-specific executable.
50
This file is a binary blob (a data file).
53
This file is a part of the internationalization subststem. Typically
54
this would apply to the translation catalogues.
57
This file is the provider management script, manage.py.
60
This file contains copyright and licensing information.
63
This file contains documentation.
b'\\ No newline at end of file'