DCMD_FSYS_VERSION
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Get version information from a filesystem
Synopsis:
#include <sys/dcmd_blk.h>
#define DCMD_FSYS_VERSION __DIOTF(_DCMD_FSYS, 39, uint64_t)
Arguments to devctl():
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device. |
| dcmd | DCMD_FSYS_VERSION |
| dev_data_ptr | A pointer to a uint64_t that represents the version. |
| n_bytes | sizeof(uint64_t) |
| dev_info_ptr | A pointer to a 32-bit signed integer. On success, the devctl() call populates this buffer with the number of bytes successfully transferred. Pass NULL if you do not want this information. |
Description:
The DCMD_FSYS_VERSION command allows you to query a filesystem for version information.
To query for version information, set the uint64_t pointed to by dev_info_ptr to one of the following values:
| Value | Description |
|---|---|
| FSYS_VERSION_ROLLBACK | The anti-rollback version for a QNX Trusted Disk (QTD) filesystem. |
See also:
devctl() in the QNX OS C Library Reference
Page updated:
