Patent ID: 8287059

Claim:
A rail device adapted for a server, the server comprising a rack and at least one chassis, the rail device being disposed on the chassis and the rack to move the chassis between a first position and a second position relative to the rack, the rail device comprising: a first rail disposed on the rack; a second rail disposed in the chassis; a bracket slidably coupled to the first rail and the second rail, the bracket comprising: a slide block slidably disposed at the first rail; and a supporter having a first end and a second end, the first end being mounted onto the slide block, the second end being slidably disposed at the second rail; a first latch disposed on the supporter of the bracket, wherein when the chassis moves away from the first position, the first latch locks the bracket and the chassis together, such that the chassis pushes the bracket forward; a driver slidably disposed at the first rail and slidably coupled to the supporter; and a second latch disposed at the first rail and located on a moving path of the slide block and the driver, the second latch having a second stopper and a pressing portion, wherein the second stopper blocks the slide block from moving to the first position of the chassis when the chassis moves from the second position to the first position, and the second latch unlocks the slide block when the driver contacts the pressing portion.