1
0
mirror of https://github.com/simh/simh.git synced 2026-04-13 15:34:35 +00:00

DISK: Avoid autosizing if file system can't be determined

Add DISKINFO command to display information about a disk container file.
This commit is contained in:
Mark Pizzolato
2020-04-29 13:21:12 -07:00
parent aa380517fa
commit 7082e212ea
3 changed files with 131 additions and 25 deletions

8
scp.c
View File

@@ -2411,7 +2411,11 @@ static const char simh_help2[] =
" Switches can be used to influence the behavior of the TESTLIB command\n\n"
"4-d\n"
" Many tests are capable of producing various amounts of debug output\n"
" during their execution. The -d switch enables that output\n";
" during their execution. The -d switch enables that output\n"
#define HLP_DISKINFO "*Commands DISKINFO"
"2Disk Container Information\n"
" Information about a Disk Container can be displayed with the DISKINFO command:\n\n"
"++DISKINFO container-spec show information about a disk container\n\n";
static CTAB cmd_table[] = {
@@ -2486,6 +2490,8 @@ static CTAB cmd_table[] = {
{ "RUNLIMIT", &runlimit_cmd, 1, HLP_RUNLIMIT, NULL, NULL },
{ "NORUNLIMIT", &runlimit_cmd, 0, HLP_RUNLIMIT, NULL, NULL },
{ "TESTLIB", &test_lib_cmd, 0, HLP_TESTLIB, NULL, NULL },
{ "DISKINFO", &sim_disk_info_cmd, 0, HLP_DISKINFO, NULL, NULL },
{ "ZAPTYPE", &sim_disk_info_cmd, 1, NULL, NULL, NULL },
{ NULL, NULL, 0, NULL, NULL, NULL }
};