truncate(nfd.getNativeFD(), length);
VmChannel.truncate(nfd.getNativeFD(), length);
  public void truncate(long length) throws IOException  {    if (kind != Kind.FILE)      throw new IOException("not a file");    truncate(nfd.getNativeFD(), length);  }