The / directory is the root of the pathname space. Usually your primary hard disk or
flash filesystem is mounted here.
On a QNX 4 filesystem, this directory includes the following files:
- /.altboot
- Contains an alternate OS image that's loaded if you press ESC during
bootup and you're using the QNX 4 filesystem; see
Controlling How Neutrino Starts.
- /.bitmap
- A system file that contains a bitmap representing the disk regions in use by the
filesystem. Each block is represented by one bit; if the bit is set, the
filesystem is using the block.
You must preserve the integrity of this file to prevent disk
corruption. After an unexpected shutdown, run
chkfsys
to walk through the entire filesystem and validate this file's
contents, correcting them if necessary. For more information, see
"QNX 4 filesystem"
in Working with Filesystems, and chkfsys in the
Utilities Reference.
- /.boot
- This item depends on the filesystem you're using:
- On a bootable Power-Safe (fs-qnx6.so) filesystem,
it's a directory that contains the OS images that the secondary
boot loader can load on bootup.
- On a bootable QNX 4 (fs-qnx4.so) filesystem, it's a
file that contains the primary OS image.
For more information, see
Controlling How Neutrino Starts,
as well as
"QNX Neutrino and QNX 4 bootloader partitions"
in the Neutrino Technical Notes.
- /.diskroot
- A file that indicates which QNX 4 filesystem to mount as /.
For more information, see Controlling How Neutrino Starts.
- /.inodes
- Contains additional data pointing to extra inode blocks required by files that
device). For more information, see
"QNX 4 filesystem" in Working with Filesystems.
The / directory also contains platform-specific
directories (e.g., armle, ppcbe,
x86), as well as the directories described in the sections that
follow.