File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / stand / vdfmt / info.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:29:50 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

#include	"vdfmt.h"

/*
**
*/

info()
{
	extern boolean	read_bad_sector_map();
	boolean		has_map;

	cur.state = inf;
	print("Gathering information for ");
	printf("controller %d, drive %d.\n\n", cur.controller, cur.drive);

	has_map = read_bad_sector_map();
	print("Module serial number is %d.\n", bad_map->bs_id);
	print("Drive type is %s.\n", CURRENT->type_name);
	if(has_map == true)
		print("Drive contains a bad sector map.\n");
	else
		print("Drive does not contain a bad sector map.\n");
	print_bad_sector_list();
	print("Information display completed successfully.\n");
}


unix.superglobalmegacorp.com

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