# File lib/fssm/pathname.rb, line 17
    def segments
      path = to_s
      array = path.split(File::SEPARATOR)
      array.delete('')
      array.insert(0, ROOT) if path[0,1] == ROOT
      array
    end