summaryrefslogtreecommitdiffstats
path: root/cmds/rawbu
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2013-06-14 10:13:53 -0700
committerAmith Yamasani <yamasani@google.com>2013-06-14 10:43:39 -0700
commitb82bf9dfc97c44852283630eac24ae92b49f85f6 (patch)
treee65923f3bcb3b5b28b7171cdc74c51168fde1dee /cmds/rawbu
parent32dbac87fd02b7a747f04bc9fa19eddc5e2cdb92 (diff)
downloadframeworks_native-b82bf9dfc97c44852283630eac24ae92b49f85f6.zip
frameworks_native-b82bf9dfc97c44852283630eac24ae92b49f85f6.tar.gz
frameworks_native-b82bf9dfc97c44852283630eac24ae92b49f85f6.tar.bz2
Add a note about emulated sdcard in rawbu usage dump
Change-Id: I95af9175235a18716d63a863b482a323392e4fa2
Diffstat (limited to 'cmds/rawbu')
-rw-r--r--cmds/rawbu/backup.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/rawbu/backup.cpp b/cmds/rawbu/backup.cpp
index 70e7b57..ff6719f 100644
--- a/cmds/rawbu/backup.cpp
+++ b/cmds/rawbu/backup.cpp
@@ -639,6 +639,12 @@ static void show_help(const char *cmd)
fprintf(stderr, "options include:\n"
" -h Show this help text.\n"
" -a Backup all files.\n");
+ fprintf(stderr, "\n backup-file-path Defaults to /sdcard/backup.dat .\n"
+ " On devices that emulate the sdcard, you will need to\n"
+ " explicitly specify the directory it is mapped to,\n"
+ " to avoid recursive backup or deletion of the backup file\n"
+ " during restore.\n\n"
+ " Eg. /data/media/0/backup.dat\n");
fprintf(stderr, "\nThe %s command allows you to perform low-level\n"
"backup and restore of the /data partition. This is\n"
"where all user data is kept, allowing for a fairly\n"