# File lib/fsdb/database.rb, line 134
  def make_file_id(abs_path)
    File.makedirs(File.dirname(abs_path))
    File.stat(abs_path).ino
  rescue Errno::ENOENT
    begin
      File.open(abs_path, "w") { |f| f.stat.ino }
    rescue StandardError => e
      raise CreateFileError, "Cannot create file at #{abs_path}:\n#{e}"
    end
  end