read last fd to buffer