diff options
Diffstat (limited to 'static/freebsd/man4/mqueuefs.4 3.html')
| -rw-r--r-- | static/freebsd/man4/mqueuefs.4 3.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/static/freebsd/man4/mqueuefs.4 3.html b/static/freebsd/man4/mqueuefs.4 3.html new file mode 100644 index 00000000..458fb4be --- /dev/null +++ b/static/freebsd/man4/mqueuefs.4 3.html @@ -0,0 +1,82 @@ +<table class="head"> + <tr> + <td class="head-ltitle">MQUEUEFS(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">MQUEUEFS(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">mqueuefs</code> — <span class="Nd">POSIX + message queue file system</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp">To link into kernel:</p> +<p class="Pp"> + <br/> + <code class="Cd">options P1003_1B_MQUEUE</code></p> +<p class="Pp">To load as a kernel loadable module:</p> +<p class="Pp"></p> +<div class="Bd Bd-indent"><code class="Li">kldload mqueuefs</code></div> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">mqueuefs</code> module will permit the + <span class="Ux">FreeBSD</span> 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.</p> +<p class="Pp">The most common usage is as follows:</p> +<p class="Pp"></p> +<div class="Bd Bd-indent"><code class="Li">mount -t mqueuefs null + /mnt/mqueue</code></div> +<p class="Pp">where <span class="Pa">/mnt/mqueue</span> is a mount point.</p> +<p class="Pp">It is possible to define an entry in + <span class="Pa">/etc/fstab</span> that looks similar to:</p> +<div class="Bd Pp Li"> +<pre>null /mnt/mqueue mqueuefs rw 0 0</pre> +</div> +<p class="Pp">This will mount <code class="Nm">mqueuefs</code> at the + <span class="Pa">/mnt/mqueue</span> mount point during system boot. Using + <span class="Pa">/mnt/mqueue</span> as a permanent mount point is not + advised as its intention has always been to be a temporary mount point. See + <a class="Xr">hier(7)</a> for more information on + <span class="Ux">FreeBSD</span> directory layout.</p> +<p class="Pp">Some common tools can be used on the file system, e.g.: + <a class="Xr">cat(1)</a>, <a class="Xr">chmod(1)</a>, + <a class="Xr">chown(8)</a>, <a class="Xr">ls(1)</a>, + <a class="Xr">rm(1)</a>, 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, + “<code class="Li">touch /mnt/mqueue/myqueue</code>”, will + create a message queue named <span class="Pa">myqueue</span> 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 + <a class="Xr">mq_open(2)</a> system call to create a queue as it allows the + user to specify different attributes.</p> +<p class="Pp">To see the queue's attributes, just read the file:</p> +<p class="Pp"></p> +<div class="Bd Bd-indent"><code class="Li">cat /mnt/mqueue/myqueue</code></div> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">mq_open(2)</a>, <a class="Xr">nmount(2)</a>, + <a class="Xr">unmount(2)</a>, <a class="Xr">mount(8)</a>, + <a class="Xr">umount(8)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> +<p class="Pp">This manual page was written by <span class="An">David Xu</span> + <<a class="Mt" href="mailto:davidxu@FreeBSD.org">davidxu@FreeBSD.org</a>>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">November 30, 2005</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
