thanks for response.
the problem comes from getdirentries() used in $P9P/src/lib9/dirread.c, I think.
man getdirentries(2) of OSX says:
NOTES
getdirentries() should rarely be used directly; instead, opendir(3) and
readdir(3) should be used.
As of Mac OS X 10.6, getdirentries() is deprecated, and it is recommended
that
applications use readdir(3) rather than using getdirentries() directly.
Due
to limitations with the system call, getdirentries() will not work with
64-bit
inodes; in order to use getdirentries(), _DARWIN_NO_64_BIT_INODE must be
defined. See stat(2) for more information on _DARWIN_NO_64_BIT_INODE and
its
other effects.
> 2017/04/07 10:18、Lyndon Nerenberg <[email protected]> のメール:
>
>
>> On Apr 6, 2017, at 5:49 AM, arisawa <[email protected]> wrote:
>>
>> on my system (on osx(10.10 and 10.11) with plan9port-20140306 (latest port
>> from russ))
>> the next command fails. that is,
>> 9 ls /dev
>> does not return to shell.
>
> It also hangs on my 10.12.4 system. Mind you, I haven't updated/rebuilt P9P
> on this machine is a long time ...
>
>