use lseek to reserve room