Updated: April 19, 2023 |
On shutdown, PPS always saves any modified objects in a persistent filesystem. You can also force PPS to save an object at any time by calling fsync() on the object.
When PPS saves its data in a persistent filesystem, it saves each object in its own file, in a directory hierarchy that reproduces the hierarchy of the PPS object tree. For example, with a default configuration, the PPS object /pps/example/object1 is stored at /var/pps/example/object1.
The default location for the PPS directory is /var/pps. You can use the PPS -p option to change this location.
The root PPS object tree (/pps by default) may look something like this:
# pwd /pps # ls -1F accounts/ applications/ qnx/ qnxcar/ servicedata/ services/ system/ #
PPS populates its root object tree from the persistence tree (/var/pps by default), where the objects and attributes that you want to persist are stored.
pps -m /fs/pps -p /myobjects