/pps/qnx/mount/<device>

Directory for mounted devices

Publishers
Device publishers (e.g., usblauncher)
Note: For more information about all the device publishers and how they interact with PPS, see the Device Publishers Developer's Guide.
Subscribers
Any app

Overview

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

Here's a sample USB object:
[n]@umass0.0
PPS_DRIVER_ID::/pps/qnx/driver/2052107
PPS_RAWMOUNT_ID::/pps/qnx/mount/umass0
blocks_size::512
blocks_total::7830408
fs_type::dos (fat32)
id::6485a02e-4cd0-4ed6-80a1-a0bce5acde3e
label::KINGSTON
mnt_status::0 (No error)
mount::/fs/usb0
name::KINGSTON
partition::/dev/umass0t11
partition_order::0
plugin_name::generic
raw::/dev/umass0
read_only::0

Attributes for USB objects

Attribute Description
blocks_size Size of each block (in bytes).
blocks_total Total number of blocks.
fs_type Filesystem type:
  • cd
  • dos (fat32)
  • ipod
  • iso9660
  • joliet
  • pfs (e.g., for MTP devices)
  • qnx
  • udf
  • unknown
Note: The specific values for fs_type depend on the relevant filesystem driver. For details about each driver, see the fs-* entries in the OS Utilities Reference.
id Device identifier.
label Partition label.
mnt_status Error string indicating the outcome of the mount operation (e.g., 48 (Not supported)).
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 (1 for true, 0 for false) whether this is a read-only device.
status Error string (present only if an error occurred).
Note: The Juke Box app happens to create the following object under the /pps/qnx/mount/ directory:
@mme
device_type::hdd
fs_type::qnx
id::mme
mount::/accounts/1000/shared/
name::Juke Box

Note that the device_type attribute and hdd value here are specific to the QNX CAR platform.