rem: rigid_disk_block *rdb; uint8 buffer[512];
add: TRACE(("search_rdb()\n"));
context: search_rdb(int fd, rigid_disk_block *_rdb){	rigid_disk_block *rdb;	uint8 buffer[512];	for (int32 sector = 0; sector < RDB_LOCATION_LIMIT; sector++) {		ssize_t bytesRead = read(fd, buffer, sizeof(buffer));		if (bytesRead < (ssize_t)sizeof(buffer))			return false;		rdb = (rigid_disk_block *)buffer;		if (rdb->id == RDB_DISK_ID && rdb->summed_longs == sizeof(rigid_disk_block) / sizeof(uint32)) {			// check checksum			uint32 *longs = (uint32 *)buffer;			uint32 sum = 0;			for (uint32 i = 0; i < rdb->summed_longs; i++)				sum += longs[i];			if (sum != 0) {				TRACE(("amiga_rdb: check sum is incorrect!\n"));				return false;			}			*_rdb = *rdb;			return true;		}	}	return false;}