The Power-Safe filesystem, supported by the fs-qnx6.so shared object, is a reliable disk filesystem that can withstand power failures without losing or corrupting data. It has many of the same features as the QNX 4 filesystem, as well as the following:
- 510-byte (UTF-8) filenames
- copy-on-write (COW) updates that prevent the filesystem from becoming corrupted by a power failure while writing
- a snapshot that captures a consistent view of the filesystem
For information about the structure of this filesystem, see Power-Safe filesystem in the Filesystems chapter of the System Architecture guide.
To create a Power-Safe filesystem, use the mkqnx6fs utility. For example:
You can use the mkqnx6fs options to specify the logical blocksize, endian layout, number of logical blocks, and so on.
Once you've formatted the filesystem, simply mount it. For example:
mount -t qnx6 /dev/hd0t76 /mnt/psfs
For more information about the options for the Power-Safe filesystem, see fs-qnx6.so in the Utilities Reference.