First implementation of read_sector, write_sector, seek_sector