rt_pipe_create() and P_MINOR_AUTO
Hello,
First things first: I am using version Xenomai 2.0.1 on a recompiled Ubuntu kernel version 2.6.14.3.
I am confused by rt_pipe_create(), specifically, the "minor" parameter. The writeup at
http://snail.fsffrance.org/www.xenomai.org/documentation/branches/v2.0.x/html/api/group__pipe.html#ga20
says that:
Passing P_MINOR_AUTO causes the minor number to be auto-allocated. In such a case, the name parameter must be valid so that user-space processes may subsequently follow the symbolic link that will be automatically created from /proc/xenomai/registry/pipes/name to the allocated pipe device entry (i.e. /dev/rtp*).
Sounds great, but it doesn't seem true. <mope>
So I have to manage minor usage be hand until P_MINOR_AUTO is implemented, or did I miss something?
Thanks,
-kb, the Kent who hasn't had a chance to try the 2.6.15 kernel he started playing with last week.
Quoted 10 lines · Kent Borg
Hello,
First things first: I am using version Xenomai 2.0.1 on a recompiled Ubuntu kernel version 2.6.14.3.
I am confused by
rt_pipe_create(), specifically, the "minor" parameter. The writeup at
http://snail.fsffrance.org/www.xenomai.org/documentation/branches/v2.0.x/html/api/group__pipe.html#ga20
says that:
Quoted 8 lines
Passing
P_MINOR_AUTOcauses the minor number to be auto-allocated. In such a case, the name parameter must be valid so that user-space processes may subsequently follow the symbolic link that will be automatically created from/proc/xenomai/registry/pipes/nameto the allocated pipe device entry (i.e./dev/rtp*).Sounds great, but it doesn't seem true. <mope>
eh. P_MINOR_AUTO appears in 2.0.2.
Quoted 15 lines
So I have to manage minor usage be hand until
P_MINOR_AUTOis implemented, or did I miss something?Thanks,
-kb, the Kent who hasn't had a chance to try the 2.6.15 kernel he started playing with last week.
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.