mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
nshlib/nsh_fscmds.c: Make losetup command take optional sector size
This commit is contained in:

committed by
Xiang Xiao

parent
f2e7faa478
commit
c7fcffd09a
@@ -278,7 +278,8 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
# if defined(CONFIG_DEV_LOOP) && !defined(CONFIG_NSH_DISABLE_LOSETUP)
|
||||
{ "losetup", cmd_losetup, 3, 6,
|
||||
"[-d <dev-path>] | [[-o <offset>] [-r] <dev-path> <file-path>]" },
|
||||
"[-d <dev-path>] | [[-o <offset>] [-r] [-s <sect-size>] "
|
||||
"<dev-path> <file-path>]" },
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user