Searched refs:volhdr (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/sys/arch/sgimips/stand/sgivol/
H A Dsgivol.c71 struct sgi_boot_block *volhdr; variable in typeref:struct:sgi_boot_block
215 err(EXIT_FAILURE, "Can't read volhdr from `%s'", argv[0]);
233 volhdr = (struct sgi_boot_block *) buf;
238 if (be32toh(volhdr->magic) != SGI_BOOT_BLOCK_MAGIC)
240 "Use -i first.\n", be32toh(volhdr->magic));
284 cmp = strncmp(volhdr->voldir[slot].name, b,
285 sizeof(volhdr->voldir[slot].name));
287 return cmp == 0 && strlen(b) <= sizeof(volhdr->voldir[slot].name);
307 printf("root part: %d\n", be16toh(volhdr->root));
308 printf("swap part: %d\n", be16toh(volhdr
[all...]

Completed in 285 milliseconds