Shared Memory Object filesystem

QNX SDP8.0System ArchitectureDeveloperUser

Every QNX OS system provides a simple Shared Memory Object filesystem that allows read/write files to be placed under /dev/shmem.

Note:
This filesystem isn't a full-featured filesystem. It's a window onto the shared memory names that happens to have some filesystem-like characteristics.

The Shared Memory Object filesystem provides a place for named shared memory objects (see name_open() in the C Library Reference) to exist in the pathspace. This filesystem is built into procnto and is present on all systems. While this filesystem lacks many features of a POSIX-compliant filesystem, it does allow open, read, and write operations.

This filesystem doesn't require any setup—you can simply create files under /dev/shmem and grow them to any size (depending on shared memory resources).

Features not included

In order to minimize the size of the Shared Memory Object filesystem code inside the process manager (procnto), this filesystem doesn't include features such as file locking and directory creation. For more information, see the Features not included note in the QNX OS User's Guide.

Page updated: