Method, device and equipment for accessing files

The invention discloses a method, a device and equipment for accessing files, and belongs to the field of computers. The method includes searching an extended data segment in a first index node according to a path name of a file; acquiring a second index node according to the extended data segment and the path name of the file; and acquiring the file corresponding to the path name of the file according to the second index node. The extended data segment is used for representing a hotspot item and an address corresponding to the hotspot item. The device comprises a search module, a first acquisition module and a second acquisition module. According to the technical scheme, the method, the device and the equipment have the advantages that the hotspot item and the address corresponding to the hotspot item are added into the extended data segment of the first index node, so that the index node acquisition speed can be increased, and the file access time can be shortened.