Directory for mounted devices
The /pps/qnx/mount/ directory contains objects that hold information for all devices mounted in the system. Object names are of the form:
rawdevice[.partition#]
For example, for a USB stick (/dev/umass0) with a DOS partition, the PPS objects would be named:
/pps/qnx/mount/umass0
/pps/qnx/mount/umass0.0
When multiple devices are involved, the device publishers will write to the .all object, which merges all the objects in this directory.
When a device is removed, the device publisher will mark the device identifier with a minus sign (e.g., -@umass0.0).
[n]@umass0.0 PPS_DRIVER_ID::/pps/qnx/driver/2793499 PPS_RAWMOUNT_ID::/pps/qnx/mount/umass0 blocks_size::512 blocks_total::7830408 fs_type::dos (fat32) id::1CA7B17A3AD49B383DEA7F88C0871A0A label::KINGSTON mount::/fs/usb0 name::KINGSTON partition::/dev/umass0t11 partition_order::0 plugin_name::generic raw::/dev/umass0 read_only::false
Attribute | Description |
---|---|
blocks_size | Size of each block (in bytes). |
blocks_total | Total number of blocks. |
device_type | Type of device:
|
fs_type | Filesystem type:
|
id | Device identifier. |
label | Partition label. |
mount | Filesystem mountpoint of the device (e.g., /fs/usb0). |
name | Name given to the device. |
partition | Device partition (e.g., /dev/umass0t11). |
partition_count | Number of partitions on this raw device. |
partition_order | Order in the partition table. |
plugin_name | Name of the plugin used for this device. |
PPS_DRIVER_ID | Name of the PPS object that contains information about the device driver. |
PPS_RAWMOUNT_ID | Name of the PPS object that contains information about the raw device. |
raw | Mountpoint of the raw device. |
read_only | Indicates (true or false) whether this is a read-only device. |