Robert P. J. Day wrote:
i was taking my first look at POSIX message queues, and have a
couple questions. first, it's easy enough to see if my current kernel
has mqueue support:
$ cat /proc/filesystems
...
nodev mqueue
...
and i'm assuming that that support is what automatically generates
the accompanying system directories /proc/sys/fs/mqueue/ and
yes.
/var/spool/mqueue/.
? I'm not so sure about this file. It's not on my system.
but, IIRC, you still can't actually use mqueues until you mount the
mqueue filesystem with some variation of:
# mkdir /dev/mqueue
# mount -t mqueue none /dev/mqueue
No, that's not needed. If you do do that then /dev/mqueue provides
files describing each message queue; look here:
http://www.kernel.org/doc/man-pages/online/pages/man7/mq_overview.7.html
or at some other location, is this correct? and does it matter where
i mount that mqueue filesystem?
I don't think it matters, but it's not needed as you think it is.
Cheers,
Michael
> will the mqueue kernel code
autodetect where i mounted it, even it it's in a non-standard
location? thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ