createbin scans the input file filein looking for the named structures and writes them to the output file fileout. This template file may be used by kcrash. kcrash looks for the file kcrash.bin by default. kcrash uses the ST command to load the template file.
addbin scans the input file filein looking for the named structures and adds them to the output file fileout. This template file may be used by kcrash. kcrash uses the ST command with a file name.
listbin displays the structure templates in the template file filein.
i.e.
createbin serial.str serial.bin buf device bdevsw cdevsw addbin serial.str serial.bin linesw sigaction listbin serial.bincommand = 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)