Annotation of 43BSDTahoe/sys/tahoestand/vdformat/info.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)info.c     1.2 (Berkeley/CCI) 11/23/87";
                      3: #endif
                      4: 
                      5: #include       "vdfmt.h"
                      6: 
                      7: /*
                      8: **
                      9: */
                     10: 
                     11: info()
                     12: {
                     13:        extern boolean  read_bad_sector_map();
                     14:        boolean         has_map;
                     15: 
                     16:        cur.state = inf;
                     17:        print("Gathering information for ");
                     18:        printf("controller %d, drive %d.\n\n", cur.controller, cur.drive);
                     19: 
                     20:        has_map = read_bad_sector_map();
                     21:        print("Module serial number is %d.\n", bad_map->bs_id);
                     22:        print("Drive type is %s.\n", lab->d_typename);
                     23:        if(has_map == true)
                     24:                print("Drive contains a bad sector map.\n");
                     25:        else
                     26:                print("Drive does not contain a bad sector map.\n");
                     27:        print_bad_sector_list();
                     28: }
                     29: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.