The virtual tree is designed to give the user the possibility to modify the file system hierarchy located just inside and base directories. To understand this concept, we have to tell something about PackageFS directory levels.
Ordinary package managers, provide packages browsing either by section or priority or both. Transposing this feature to the file system level, means organizing packages in subdirectories. The challenge consists in making the user able to choose how to build the directory hierarchy.
PackageFS implements this feature using directory levels. Even if the user builds the tree as he prefers, he creates the same amount of parent directories for each package entry. If, for instance, the user decides to browse packages by priority, he adds one more depth level to the tree. At the same time, browsing by sections and then by priorities, he adds other two levels. In any way the user modifies the tree, the packages paths will be placed all at the same depth level. This latter is identified as the level-one depth. Figure 5.5 displays this concept.
Options to set up in order to change hierarchy behavior are included
configuration files. In particular their initial values are: