DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

addbin - adds structure templates to a structure template file
createbin - creates a file that contains structure templates
listbin - creates a file that contains structure templates

SYNOPSIS

addbin filein fileout structure names
createbin filein fileout structure names
listbin filein

DESCRIPTION

createbin will scan the input file looking for the named structures and writing them to the output file. This template file may be used by kcrash or kdb. Kcrash and kdb look for the file kcrash.bin by default. Kdb requires that the template file be loaded by running mkdbstr. Kcrash uses the ST command to load the template file.

addbin will scan the input file looking for the named structures and adding them to the output file. This template file may be used by kcrash or kdb. kdb requires that the template file be loaded by mkdbstr. kcrash uses the ST command with a file name.

listbin will display the structure templates in the template file.

i.e.

	createbin serial.str serial.bin	buf device bdevsw cdevsw
		addbin serial.str serial.bin linesw sigaction
		listbin	serial.bin

command = listbin FinalAddress is: 086E StrVersion is: 1.4 Structure - cred 0 Max string is: 00C Table size is: 020(32)

0 cr_ref 2 short 2 cr_ngroups 2 short 4 cr_uid 6 long 8 cr_gid 6 long C cr_ruid 6 long 10 cr_rgid 6 long 14 cr_suid 6 long 18 cr_sgid 6 long 1C cr_groups[1] 86 long 001( 1)

SEE ALSO

extstr(1), kcrash(1), kdb(1), mkdbstr(1)