Mount object

Updated: April 19, 2023

The names for USB mount objects take the form rawdevice[.partition#]. For example, if you attach a USB stick with a DOS partition and the raw device created is /dev/umass0, the mount object is named /pps/qnx/mount/umass0.0.

Each mount object that the USB launcher service writes to PPS contains the following fields:
Name Description Type Example
blocks_size Size of each block (in bytes) Integer 512
blocks_total Total number of blocks Integer 1622502
fs_type Filesystem type. This field is present only if the filesystem is mounted. String with one of these values: dos (fat32), qnx6, nt, or unknown dos (fat32)
label Filesystem label, as a formatted string. This field is present only if the filesystem is mounted. String Home movies 1
label_raw_str Filesystem label, as an unformatted or raw string. This field is present only if the filesystem is mounted. String Þßà
mnt_status Outcome of the mount operation Integer followed by string, in this format: errno (str_error(errno)) 48 (Not supported)
mount Mountpoint. This field is present only if the filesystem on the corresponding partition is mounted. String /fs/usb0_0
partition Partition name. This field is present only if the object represents a partition. String /dev/umass/umass0t6
partition_count Total number of partitions. This field is present only if the object represents an entire device, not a partition. Integer 1
partition_order Partition index. This field is present only if the object represents a partition. Integer 0
plugin_name Name of plugin supplying extra mount information, followed by mount fields returned by plugin

String, in this format: plugin_name::pname [attr_name::value]*

Here, pname is ipod, mediafs, or generic. The attributes written to this field are plugin-dependent.

plugin_name::
 generic 
name::
id::5d05f0df-
 68f4-4cfe-b06e-
 ad664aad3ec8
PPS_DRIVER_ID Driver object path String /pps/qnx/driver/265837
PPS_RAWMOUNT_ID Mount object path String /pps/qnx/mount/umass0
raw Name of raw device String /dev/umass/umass0
read_only Read-only status of device. This field is present only if the filesystem is mounted. Boolean: 0 if writable or 1 if read-only 0 (writable)
status Error string. This field is present only if an error occurred when accessing the device's mounted filesystem. Integer followed by string, in this format: errno (str_error(errno)) 302 (Corrupted file system detected)