Updated: October 28, 2024 |
Defragment an embedded transaction filesystem
#include <sys/dcmd_mem.h> #define DCMD_ETFS_DEFRAG __DION(_DCMD_MEM, 104)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the filesystem partition, /dev/etfs2 |
dcmd | DCMD_ETFS_DEFRAG |
dev_data_ptr | NULL |
n_bytes | 0 |
dev_info_ptr | NULL |
This command defragments the filesystem. You must be root or have the appropriate permissions to use this command.
None.
None.
The devctl() function can return the following, in addition to the error codes listed in its entry in the C Library Reference:
devctl() in the QNX Neutrino C Library Reference
etfsctl, fs-etfs-ram in the Utilities Reference