8225461: (fs) Investigate filtering duplicates out of Iterable returned by java.nio.file.FileSystem::getFileStores
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Aug 9 18:54:10 UTC 2019
Hello,
> On Aug 9, 2019, at 11:49 AM, Bernd Eckenfels <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.
> Speaking of mountpoints, it looks like FileStore.toStrimg is still the only way to get the mountpoint path (also for WindowsFilestore), would it be good to get that with an accessor method?
There is the issue [1] on file and I was wondering the same as you.
Thanks,
Brian
[1] https://bugs.openjdk.java.net/browse/JDK-8028426
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190809/5cfbd962/attachment-0001.html>
More information about the nio-dev
mailing list