|
NAMEmqueuefs —
POSIX message queue file system
SYNOPSISTo link into kernel:
To load as a kernel loadable module: kldload mqueuefs DESCRIPTIONThemqueuefs module will permit the
FreeBSD kernel to support POSIX message queue. The
module contains system calls to manipulate POSIX message queues. It also
contains a file system to implement a view for all message queues of the
system. 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 where /mnt/mqueue is a mount point. It is possible to define an entry in /etc/fstab that looks similar to: null /mnt/mqueue mqueuefs rw 0 0 This will mount Some common tools can be used on the file system, e.g.:
cat(1),
chmod(1),
chown(8),
ls(1),
rm(1), etc.
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, “ To see the queue's attributes, just read the file: cat /mnt/mqueue/myqueue SEE ALSOmq_open(2), nmount(2), unmount(2), mount(8), umount(8)AUTHORSThis manual page was written by David Xu <davidxu@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |