fd.sync();
}
public void hardlink(File source, File target) throws IOException {
int rc = lib.CreateHardLink(target.getCanonicalPath(), source.getCanonicalPath(), 0);
if( rc == 0 ){
throw new IOException("Hard link failed with result code="+lib.GetLastError());
}
}
};
} catch (Throwable ignore) {
// Perhaps we should issue a warning here so folks know that