mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
cmd_dd:support dd can do verify
After writing the file, compare the contents of the two files again Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -160,9 +160,9 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLE_DD
|
||||
{ "dd", cmd_dd, 3, 6,
|
||||
{ "dd", cmd_dd, 3, 7,
|
||||
"if=<infile> of=<outfile> [bs=<sectsize>] [count=<sectors>] "
|
||||
"[skip=<sectors>]" },
|
||||
"[skip=<sectors>] [verify]" },
|
||||
# endif
|
||||
|
||||
#if defined(CONFIG_NET) && defined(CONFIG_NET_ROUTE) && !defined(CONFIG_NSH_DISABLE_DELROUTE)
|
||||
|
Reference in New Issue
Block a user