scope oshi_hadDiskAccess. static L #disks; static bool oshi_hadDiskAccess() { if (disks == null) ret false with disks = oshi_diskStores(); for (HWDiskStore disk : unnull(disks)) pcall { long old1 = disk.getReadBytes(); long old2 = disk.getWriteBytes(); assertTrue(disk.updateAttributes()); if (disk.getReadBytes() > old1 || disk.getWriteBytes() > old2) true; } false; } end scope