RFR: 8232861: (fc) FileChannel.force fails on WebDAV file systems (macOS) [v2]
Brian Burkhalter
bpb at openjdk.java.net
Wed Apr 7 18:19:38 UTC 2021
On Wed, 7 Apr 2021 18:15:24 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I thought about `errno` but didn't know whether it's common practice to cache it like that.
>>
>> We had `ENOTSUP` I suppose in case the `F_FULLSYNC` is unsupported on a local file system. From the man page of `fcntl()` the doc of `F_FULLSYNC` states
>> This is currently implemented on HFS, MS-DOS (FAT), Universal Disk Format (UDF) and APFS file systems
>> although `ENOTSUP` itself is not actually documented here.
>
> I think this looks good, I'm just wondering to myself if it is possible to get ENOTSUP from a local device.
I am going to try to test this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3366
More information about the nio-dev
mailing list