-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system/usbmsc: Add support for setting paths bind to LUN at runtime
Help nsh> msconn -h Usage: msconn [-o OPTION]... [-l LUNs]... Configures the USB mass storage device and exports the LUN(s). Supported arguments -o nc: No const LUN ro: Readonly rw: Read/Write(default) -l Device path to export Examples 1. Export const LUN(s) only msconn 2. Export /dev/ramx and const LUN(s) msconn -l /dev/ramx 3. Export /dev/ramx without const LUN msconn -o nc -l /dev/ramx Signed-off-by: wangjianyu3 <[email protected]>
- Loading branch information
1 parent
22d5d1d
commit f8b23df
Showing
2 changed files
with
142 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters