Check an entire Power-Safe filesystem for consistency (QNX Neutrino)
You must be logged in as root to run this utility. |
chkqnx6fs [-sv] host
Neutrino
If you specify -s, chkqnx6fs locates and verifies the active superblock, but doesn't check the filesystem itself. |
The chkqnx6fs performs a consistency check on a Power-Safe (fs-qnx6) filesystem. The check is conducted in these passes:
Only a stable filesystem can be checked (i.e. one that isn't going to change or be updated during the scan). A stable filesystem is one of the following:
You shouldn't actually need to use chkqnx6fs in a production system (e.g. in a boot script). The design of the fs-qnx6 filesystem should (in the absence of software bugs, physical bad blocks, or malicious data modification on the raw device) make any such check unnecessary. |
The following table shows the shared objects and related commands for the filesystems:
Partition type | Filesystem | Shared object | Initialize with: | Check with: |
---|---|---|---|---|
1, 4, or 6 | DOS | fs-dos.so | mkdosfs | chkdosfs |
7 | Windows NTa | fs-nt.so | N/A | N/A |
11, 12, or 14 | FAT32 | fs-dos.so | mkdosfs | chkdosfs |
77, 78, or 79 | QNX 4 | fs-qnx4.so | dinit | chkfsys |
131 | Linux (Ext2) | fs-ext2.so | N/A | N/A |
175 | Apple Macintosh HFS or HFS Plusa | fs-mac.so | N/A | N/A |
177, 178, or 179 | Power-Safe | fs-qnx6.so | mkqnx6fs | chkqnx6fsb |
a Read-only.
b Not usually necessary.
For more information, see the Filesystems chapter of the System Architecture guide.
# chkqnx6fs -v /dev/hd0t76 ** Prelude: read and verify superblocks ** ** Pass 1 : verify bitmap and inodes ** ** Pass 2 : verify directory hierarchy ** ** Summary: 20216/8040524 blocks, 142/62816 inodes **
chkdosfs, chkfsys, fs-qnx6.so, mkqnx6fs
Backing Up and Recovering Data in the Neutrino User's Guide
“Power-Safe filesystem” in the Filesystems chapter of the System Architecture guide
“Power-Safe filesystem” in the Filesystems chapter of the Neutrino User's Guide