8225461: (fs) Investigate filtering duplicates out of Iterable returned by java.nio.file.FileSystem::getFileStores
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Aug 23 18:33:21 UTC 2019
Ping … !
> On Aug 12, 2019, at 4:05 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
>
>> On Aug 9, 2019, at 11:54 AM, Brian Burkhalter <brian.burkhalter at oracle.com <mailto:brian.burkhalter at oracle.com>> wrote:
>>
>>> On Aug 9, 2019, at 11:49 AM, Bernd Eckenfels <ecki at zusammenkunft.net <mailto:ecki at zusammenkunft.net>> wrote:
>>>
>>> I wonder if for the df case you should word-split the mountpoints, assuming that if duplicate lines are possible they might differ in any of the other columns which are not relevant for the test. (And i wonder if this as well as the /proc/mounts Support Blanks in the path)
>>
>> That might be a good idea.
>
> Here is a modified version [1] which uses only the device/filesystem and mount point fields of the df and /proc/mounts lines.
>
> Thanks,
>
> Brian
>
> [1] http://cr.openjdk.java.net/~bpb/8225461/webrev.02/ <http://cr.openjdk.java.net/~bpb/8225461/webrev.02/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190823/8ce61cb5/attachment-0001.html>
More information about the nio-dev
mailing list