@PersistentFS.Attributes
  int getFlags(int fileId) {
    try {
      checkNotClosed();
      return connection.getRecords().getFlags(fileId);
    }
    catch (IOException e) {
      throw handleError(e);
    }
  }
@PersistentFS.Attributes
  int getFlags(int fileId)