[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:
From: |
Dale R. Worley |
Subject: |
Re: |
Date: |
Mon, 30 Jul 2018 22:40:00 -0400 |
James Youngman <address@hidden> writes:
[From Posix:]
>> The st_ino and st_dev fields taken together uniquely identify the
>>file within the system.
>
> Find (for example in the -samefile test) relies on this behaviour.
> However, if only one file on the whole system has st_ino==0, this
> uniqueness condition still holds. So by itself, st_ino==0 may still
> be standard-conforming.
Yes... I see nothing in the Posix specification
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html#tag_13_67
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html
that suggests st_ino == 0 is forbidden.
Dale
- [no subject], Jonathan M. Wilbur, 2018/07/12
- Re: find assertion failure with vboxsf, Bernhard Voelker, 2018/07/13
- Re:, James Youngman, 2018/07/22
- RE:, Jonathan M. Wilbur, 2018/07/22
- Re:, Kamil Dudka, 2018/07/23
- Re:, James Youngman, 2018/07/23
- Re:,
Dale R. Worley <=