Format a Power-Safe filesystem (QNX Neutrino)
|You must be logged in as root to run this utility.|
mkqnx6fs [-Bq] [-b blocksize] [-e endian] [-g groups] [-i inodes] [-n blocks] [-O options] [-o options] [-r percent] [-T type] [-u uuid] [-v vol_name] host
The default is 1024; the case of the “k” is ignored. Varying the blocksize can control various types of fragmentation as well as determine the maximum file size supported.
By default, mkqnx6fs makes the filesystem fully occupy the specified host (e.g. it determines the number of blocks from the size of the disk partition).
The default is -O-quiet,-cls.
You can use this option with -B to just update the loader and options.
The default is -o+lfncksum.
|This default is incompatible with the 6.4.0 version of the Power-Safe filesystem. If you wish to format a filesystem that can be mounted read-write by 6.4.0, you must specify -o-lfncksum; otherwise it will allow only read-only mounting.|
|You can't specify both the -u and -v options.|
The mkqnx6fs utility creates a fresh fs-qnx6 filesystem on the specified host (typically a hard disk partition, although you can create an image inside a regular file).
The integer fields of the filesystem are maintained as either all little-endian or all big-endian, as dictated by the -e option. Thus no CPU architecture pays a byte-swapping penalty for local disks. The filesystem detects the endian-ness and swaps if necessary, so you can move a disk across platforms (with a slight penalty in performance).
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|
|11, 12, or 14||FAT32||fs-dos.so||mkdosfs||chkdosfs|
|77, 78, or 79||QNX 4||fs-qnx4.so||dinit||chkfsys|
|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|
b Not usually necessary.
For more information, see the Filesystems chapter of the System Architecture guide.
# mkqnx6fs /dev/hd0t76 All files on /dev/hd0t76 will be lost! Confirm filesystem re-format (y) or (n): y Format fs-qnx6: 8040524 blocks, 62816 inodes, 8 groups
chkqnx6fs, devb-*, dinit, fs-qnx6.so, mkdosfs
“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