Extract information from the package filesystem
If you are not root, specify the full path: /usr/sbin/pkgctl. |
pkgctl [-v] [-i|r|l|c|w] file [file ...]
The spill and mountpoints don't change. |
The pkgctl utility extracts information about a file from the package filesystem. You can also use it to recover the original version of a file if it has been spilled.
Get information about /bin/echo and /bin/ls:
pkgctl -i /bin/echo /bin/ls
Or:
pkgctl /bin/echo /bin/ls
Recover (unspill) a change that was made to /bin/echo:
pkgctl -r /bin/echo
Get the user configuration file for the package filesystem that handles /bin/echo:
pkgctl -c /bin/echo
Get the user configuration file for all running package filesystems on the system:
pkgctl -c /dev/pkginfo*
Reload the configuration for the package filesystem that handles /bin/echo:
pkgctl -l /bin/echo
Restart all of the running package filesystems on the system:
pkgctl -l /dev/pkginfo*
Check the difference between a spilled file and its original unspilled version:
diff /etc/system/rc.d/rc.sysinit `pkgctl -w /etc/system/rc.d/rc.sysinit`
cl-installer, fs-pkg, qnxinstall
"Package filesystem" in the Working With Filesystems chapter of the User's Guide