aboutsummaryrefslogtreecommitdiff
path: root/mpiosh
diff options
context:
space:
mode:
authorgermeier <germeier>2002-09-20 20:49:36 +0000
committergermeier <germeier>2002-09-20 20:49:36 +0000
commitdb746a3a55709a20183ecc33a1b6a5b40d863702 (patch)
tree89a20301b475d041b4ad55d859f0b81e7e320611 /mpiosh
parent21ec3fac700bf50b8c5cfafa6b6b5a86599fa9e2 (diff)
downloadmpiosh-db746a3a55709a20183ecc33a1b6a5b40d863702.tar.gz
mpiosh-db746a3a55709a20183ecc33a1b6a5b40d863702.tar.bz2
mpiosh-db746a3a55709a20183ecc33a1b6a5b40d863702.zip
small fixes to mpiosh/callback.c
added code to identify DMG+ (assumed, but should be correct)
Diffstat (limited to 'mpiosh')
-rw-r--r--mpiosh/callback.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/mpiosh/callback.c b/mpiosh/callback.c
index 3e8cb13..0376989 100644
--- a/mpiosh/callback.c
+++ b/mpiosh/callback.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Büsching <crunchy@tzi.de>
*
- * $Id: callback.c,v 1.15 2002/09/19 22:23:01 crunchy Exp $
+ * $Id: callback.c,v 1.16 2002/09/20 20:49:36 germeier Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -169,6 +169,10 @@ mpiosh_cmd_mem(char *args[])
if (mpio_memory_free(mpiosh.dev, MPIO_EXTERNAL_MEM, &free)) {
mpiosh.card = MPIO_EXTERNAL_MEM;
mpiosh.prompt = PROMPT_EXT;
+ printf("WARNING\n");
+ printf("Support for external memory is not complete and will"
+ " probably *not* work !!\n");
+ printf("WARNING\n");
printf("external memory card is selected\n");
} else {
printf("no external memory card is available\n");
@@ -256,6 +260,7 @@ mpiosh_cmd_get(char *args[])
mpiosh_callback_get) == -1) {
mpio_perror("error");
}
+ printf("\n");
}
void
@@ -337,6 +342,7 @@ mpiosh_cmd_put(char *args[])
} else {
mpio_sync(mpiosh.dev, mpiosh.card);
}
+ printf("\n");
}
void
@@ -550,6 +556,11 @@ mpiosh_cmd_format(char *args[])
MPIOSH_CHECK_CONNECTION_CLOSED;
UNUSED(args);
+
+ printf("WARNING\n");
+ printf("Support for formatting memory is not complete and has"
+ " some known issues!!\n");
+ printf("WARNING\n");
printf("This will destroy all tracks saved on the memory card. "
"Are you sure (y/n)? ");