> -----Original Message-----
> From: Richard Cochran <[email protected]>
> Sent: Saturday, November 13, 2021 6:53 AM
> To: Vladimir Oltean <[email protected]>
> Cc: Ed Branch <[email protected]>; [email protected]
> Subject: Re: [Linuxptp-devel] [PATCH] util: don't error out in 
> posix_clock_open() if
> we can't determine PHC index
> 
> On Sat, Nov 13, 2021 at 06:22:34AM -0800, Richard Cochran wrote:
> > Indeed phc2sys is correct in requiring that the path to the PTP char
> > device be in the "/dev/ptpN" format.
> 
> If ever phc2sys accepted /dev/ptp_kvm or similar, that was simply a
> bug in phc2sys.
> 
> > The Debian KVM script is just plain wrong.
> 
> Or maybe not a bug, but still the script that invokes phc2sys should
> simply use `realpath /dev/ptp_kvm`
> 

Is it possible for us to resolve symlinks ourselves before attempting to check 
its index value? That would be an added convenience for users.

Thanks,
Jake


_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to