rem: void dump_geom(int dev, bool bios)
add: static void dump_geom(int dev, bool bios)
context: void dump_geom(int dev, bool bios){	device_geometry geom;		if (ioctl(dev, bios?B_GET_BIOS_GEOMETRY:B_GET_GEOMETRY, &geom, sizeof(geom)) < 0) {		perror("ioctl(B_GET_(BIOS_)GEOMETRY)");		return;	}	printf("%sgeometry:\n", bios?"bios ":"");	printf("bytes_per_sector:\t%ld\n", geom.bytes_per_sector);	printf("sectors_per_track:\t%ld\n", geom.sectors_per_track);	printf("cylinder_count:\t%ld\n", geom.cylinder_count);	printf("head_count:\t%ld\n", geom.head_count);	printf("device_type:\t%d, %s\n", geom.device_type, device_type(geom.device_type));	printf("%sremovable.\n", geom.removable?"":"not ");	printf("%sread_only.\n", geom.read_only?"":"not ");	printf("%swrite_once.\n", geom.write_once?"":"not ");	puts("");}