qtsafefsd

QNX Filesystem for Safety (qtsafefs) daemon

Syntax:

  qtsafefsd -o options disk_path mount_path

Runs on:

QNX OS

Options:

options
Separate multiple options with a comma and no spaces.
  • key=public_key — A mandatory option that specifies the public key path to use to verify the qtsafefs signature.
  • qcrypto=tag — (Optional) Force qtsafefsd to use cryptographic algorithms provided by the QNX cryptography library (qcrypto) plugin that is identified by the specified tag. If not specified, the default tag qtsafefsd is used.

    For more information, to the QNX Cryptography Library reference.

  • rollback=version — (Optional) Specify the version value to compare with the version value of the image superblock. If the version of the image superblock is less than this value, mounting fails. The field is treated as a 64-bit unsigned integer for comparison.
  • term_on_failure — (Optional) If any error occurs while attempting to service a read request, terminate the driver process. The error could be a verification failure or it could be some other read failure (e.g., from the read to the underlying filesystem image). This mechanism is only active when the driver is running (serving clients), after mounting is completed successfully. It allows you to mark the process as critical and go to the DSS (design safe state) when an irrecoverable issue occurs.

    Setting term_on_failure only affects errors returned from attempts to service a read request. POSIX operation errors (e.g., invalid file, file not found, or EPERM) do not terminate the driver process. If you omit term_on_failure, there are still some internal errors (such as failing to lock a mutex) that can cause the process to abort.

  • threads=num — (Optional) Set the number of threads available in the qtsafefsd driver to service clients. Default is 4.
  • trusted — (Optional) Specify that the partition is trusted. This option works in conjunction with the pathtrust security feature (see Pathtrust in the System Security Guide).
  • timeout=milliseconds — (Optional) Specify a timeout duration in milliseconds for reads from the block device. The default value is 3000 (3 seconds).
  • verify — (Optional) Perform a full-image integrity verification of the filesystem before mounting it. If the verification fails, the filesystem is not mounted and the process exits.
  • verbose — (Optional) Increase the verbosity of the log output.
disk_path
The path to the qtsafefs filesystem raw data (disk partition or a regular file).
mount_path
The mount path where the filesystem objects will be accessed from.

Description:

The QNX Filesystem for Safety (qtsafefs) daemon provides a filesystem interface to the QFS image.

Examples:

Go to Starting the QFS driver.
Page updated: