module will permit the
kernel to support
The module contains system calls to manipulate
It also contains a file system to implement a view for all message queues of
This helps users to keep track of their message queues and make
it more easily usable without having to invent additional tools.
The most common usage is as follows:
mount -t mqueuefs null /mnt/mqueue
is a mount point.
It is possible to define an entry in
that looks similar to:
null /mnt/mqueue mqueuefs rw 0 0
This will mount
mount point during system boot.
as a permanent mount point is not advised as its intention
has always been to be a temporary mount point.
for more information on
Some common tools can be used on the file system, e.g.:
To use only the message queue system calls, it is not necessary for
user to mount the file system, just load the module or compile it
into the kernel.
Manually creating a file, for example,
will create a message queue named
in the kernel, default
message queue attributes will be applied to the queue.
It is not
advised to use this method to create a queue;
it is better to use the
system call to create a queue as it
allows the user to specify different attributes.
To see the queues attributes, just read the file: