FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

mqueuefs - POSIX message queue file system



      mqueuefs - POSIX message queue file system


      To link into kernel:
      To load as a kernel loadable module:


      The mqueuefs module will permit the FreeBSD kernel to support POSIX mes‐
      sage queue.  The module contains system calls to manipulate POSIX message
      queues.  It also contains a file system to implement a view for all mes‐
      sage queues of the system.  This helps users to keep track of their mes‐
      sage queues and make it more easily usable without having to invent addi‐
      tional 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 mqueuefs at the /mnt/mqueue mount point during system
      boot.  Using /mnt/mqueue as a permanent mount point is not advised as its
      intention has always been to be a temporary mount point.  See hier(7) for
      more information on FreeBSD directory layout.
      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 mod‐
      ule or compile it into the kernel.  Manually creating a file, for exam‐
      ple, “touch /mnt/mqueue/myqueue”, will create a message queue named
      myqueue 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 mq_open(2) system call to create a queue as it
      allows the user to specify different attributes.
      To see the queue’s attributes, just read the file:
            cat /mnt/mqueue/myqueue
      mq_open(2), nmount(2), unmount(2), mount(8), umount(8)


      This manual page was written by David Xu 〈〉.


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.