posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* How to list existing posix mqueues?
@ 2010-01-09 18:18 Iñaki Baz Castillo
  2010-01-09 18:43 ` How to list existing posix mqueues? [SOLVED] Iñaki Baz Castillo
  0 siblings, 1 reply; 2+ messages in thread
From: Iñaki Baz Castillo @ 2010-01-09 18:18 UTC (permalink / raw)
  To: ruby.posix.mq

Hi, I miss a way to list the currently existing posix message queues in the 
system. by reading the C documentation I see no way to get such list.

Is there some way? It would be great to know the existing mqueues and also 
their properties (permissions, attrs and so).

Regards.


-- 
Iñaki Baz Castillo <ibc@aliax.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to list existing posix mqueues? [SOLVED]
  2010-01-09 18:18 How to list existing posix mqueues? Iñaki Baz Castillo
@ 2010-01-09 18:43 ` Iñaki Baz Castillo
  0 siblings, 0 replies; 2+ messages in thread
From: Iñaki Baz Castillo @ 2010-01-09 18:43 UTC (permalink / raw)
  To: ruby.posix.mq

El Sábado, 9 de Enero de 2010, Iñaki Baz Castillo escribió:
> Hi, I miss a way to list the currently existing posix message queues in the
> system. by reading the C documentation I see no way to get such list.
> 
> Is there some way? It would be great to know the existing mqueues and also
> their properties (permissions, attrs and so).

Yeah, it's possible by mounting the mqueue:

  mount -t mqueue null /mnt/mqueue

It shows the queue permissions as file permissions and doing a cat displays 
its attributes :)


-- 
Iñaki Baz Castillo <ibc@aliax.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-09 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-09 18:18 How to list existing posix mqueues? Iñaki Baz Castillo
2010-01-09 18:43 ` How to list existing posix mqueues? [SOLVED] Iñaki Baz Castillo

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/ruby_posix_mq.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).