1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
| mklittlefs-v1 or mklittlefs-v2 {-c <pack_dir>|-u <dest_dir>|-l}
[-T <from_file>] [-d <0-5>] [-a] [-w <number>]
[-r <number>] [-b <number>] [-s <number>] [--]
[--version] [-h] <image_file>
Where:
-c <pack_dir>, --create <pack_dir>
(OR required) create littlefs image from a directory
-- OR --
-u <dest_dir>, --unpack <dest_dir>
(OR required) unpack littlefs image to a directory
-- OR --
-l, --list
(OR required) list files in littlefs image
-T <from_file>, --from-file <from_file>
when creating an image, include paths in from_file instead of scanning
pack_dir
-d <0-5>, --debug <0-5>
Debug level. 0 means no debug output.
-a, --all-files
when creating an image, include files which are normally ignored;
currently only applies to '.DS_Store' files and '.git' directories
-w <number>, --prosize <number>
fs pro size, in bytes
-r <number>, --readsize <number>
fs read_size, in bytes
-b <number>, --block <number>
fs block size, in bytes
-s <number>, --size <number>
fs image size, in bytes
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
<image_file>
(required) littlefs image file
|