As discussed on linuxptp-users ("Config section for /var/log/ptp4lro creates an additional port"), configuring different file modes via port sections in config file does not work as intended. So I instead chose the way of passing the required information all the way down to uds_transport_create(), which is not easy as the differentiation between RW and RO ports lives only in clock.c, and uds_transport_create() does not have access to either the port instance or its config. I don't say this solution is nice, but it works. Any ideas how to make it nicer are welcome.
Best regards, Martin
smime.p7s
Description: Elektronicky podpis S/MIME
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel