piodmgr Command
Purpose
Compacts the Object Data Manager (ODM) database in the /var/spool/lpd/pio/@local/smit directory.
Syntax
Description
The piodmgr command extracts existing printer definitions from the ODM database in the /var/spool/lpd/pio/@local/smit directory, re-creates the ODM database, compacts the database, and reloads the compacted database.
The -c and -h flags are mutually exclusive. The -h flag compacts the database when the hostname is changed. The -c flag always compacts the database.
Note: Root user authority is needed to run this command.
Flags
Item | Description |
---|---|
-c | Extracts existing printer definitions from the ODM database, re-creates the database, compacts the information, and replaces the database. |
-h | Performs exactly like the -c flag, but the -h flag compacts the information only if the hostname is changed. If the hostname is changed, the -h flag extracts the new name and updates the hostname information in the database. If the hostname has not been changed, the -h flag does not compact the information. This flag is an optional compactor rather than an automatic compactor as with the -c flag. |
Examples
- To compact and update the ODM printer definition database, enter:
piodmgr -c
- To perform compaction of the information depending on whether the hostname is changed or not,
enter:
piodmgr -h
Files
Item | Description |
---|---|
/usr/lib/lpd/pio/etc/piodmgr | Contains the piodmgr command. |
/var/spool/lpd/pio/@local/smit/* | Contains predefined printer definitions that are used by the command. |