Lines Matching refs:MSG
62 MSG(0, "\nUsage: fsck.f2fs [options] device\n"); in fsck_usage()
63 MSG(0, "[options]:\n"); in fsck_usage()
64 MSG(0, " -a check/fix potential corruption, reported by f2fs\n"); in fsck_usage()
65 MSG(0, " -c <num-cache-entry> set number of cache entries" in fsck_usage()
67 MSG(0, " -m <max-hash-collision> set max cache hash collision" in fsck_usage()
69 MSG(0, " -C encoding[:flag1,flag2] Set options for enabling" in fsck_usage()
71 MSG(0, " -d debug level [default:0]\n"); in fsck_usage()
72 MSG(0, " -f check/fix entire partition\n"); in fsck_usage()
73 MSG(0, " -g add default options\n"); in fsck_usage()
74 MSG(0, " -l show superblock/checkpoint\n"); in fsck_usage()
75 MSG(0, " -O feature1[feature2,feature3,...] e.g. \"encrypt\"\n"); in fsck_usage()
76 MSG(0, " -p preen mode [default:0 the same as -a [0|1]]\n"); in fsck_usage()
77 MSG(0, " -S sparse_mode\n"); in fsck_usage()
78 MSG(0, " -t show directory tree\n"); in fsck_usage()
79 MSG(0, " -q preserve quota limits\n"); in fsck_usage()
80 MSG(0, " -y fix all the time\n"); in fsck_usage()
81 MSG(0, " -V print the version number and exit\n"); in fsck_usage()
82 MSG(0, " --dry-run do not really fix corruptions\n"); in fsck_usage()
83 MSG(0, " --no-kernel-check skips detecting kernel change\n"); in fsck_usage()
84 MSG(0, " --kernel-check checks kernel change\n"); in fsck_usage()
85 MSG(0, " --debug-cache to debug cache when -c is used\n"); in fsck_usage()
91 MSG(0, "\nUsage: dump.f2fs [options] device\n"); in dump_usage()
92 MSG(0, "[options]:\n"); in dump_usage()
93 MSG(0, " -d debug level [default:0]\n"); in dump_usage()
94 MSG(0, " -i inode no (hex)\n"); in dump_usage()
95 MSG(0, " -n [NAT dump nid from #1~#2 (decimal), for all 0~-1]\n"); in dump_usage()
96 MSG(0, " -s [SIT dump segno from #1~#2 (decimal), for all 0~-1]\n"); in dump_usage()
97 MSG(0, " -S sparse_mode\n"); in dump_usage()
98 MSG(0, " -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]\n"); in dump_usage()
99 MSG(0, " -b blk_addr (in 4KB)\n"); in dump_usage()
100 MSG(0, " -V print the version number and exit\n"); in dump_usage()
107 MSG(0, "\nUsage: defrag.f2fs [options] device\n"); in defrag_usage()
108 MSG(0, "[options]:\n"); in defrag_usage()
109 MSG(0, " -d debug level [default:0]\n"); in defrag_usage()
110 MSG(0, " -s start block address [default: main_blkaddr]\n"); in defrag_usage()
111 MSG(0, " -S sparse_mode\n"); in defrag_usage()
112 MSG(0, " -l length [default:512 (2MB)]\n"); in defrag_usage()
113 MSG(0, " -t target block address [default: main_blkaddr + 2MB]\n"); in defrag_usage()
114 MSG(0, " -i set direction as shrink [default: expand]\n"); in defrag_usage()
115 MSG(0, " -V print the version number and exit\n"); in defrag_usage()
121 MSG(0, "\nUsage: resize.f2fs [options] device\n"); in resize_usage()
122 MSG(0, "[options]:\n"); in resize_usage()
123 MSG(0, " -d debug level [default:0]\n"); in resize_usage()
124 MSG(0, " -i extended node bitmap, node ratio is 20%% by default\n"); in resize_usage()
125 MSG(0, " -s safe resize (Does not resize metadata)"); in resize_usage()
126 MSG(0, " -t target sectors [default: device size]\n"); in resize_usage()
127 MSG(0, " -V print the version number and exit\n"); in resize_usage()
133 MSG(0, "\nUsage: sload.f2fs [options] device\n"); in sload_usage()
134 MSG(0, "[options]:\n"); in sload_usage()
135 MSG(0, " -C fs_config\n"); in sload_usage()
136 MSG(0, " -f source directory [path of the source directory]\n"); in sload_usage()
137 MSG(0, " -p product out directory\n"); in sload_usage()
138 MSG(0, " -s file_contexts\n"); in sload_usage()
139 MSG(0, " -S sparse_mode\n"); in sload_usage()
140 MSG(0, " -t mount point [prefix of target fs path, default:/]\n"); in sload_usage()
141 MSG(0, " -T timestamp\n"); in sload_usage()
142 MSG(0, " -P preserve owner: user and group\n"); in sload_usage()
143 MSG(0, " -c enable compression (default allow policy)\n"); in sload_usage()
144 MSG(0, " ------------ Compression sub-options -----------------\n"); in sload_usage()
145 MSG(0, " -L <log-of-blocks-per-cluster>, default 2\n"); in sload_usage()
146 MSG(0, " -a <algorithm> compression algorithm, default LZ4\n"); in sload_usage()
147 MSG(0, " -x <ext> compress files except for these extensions.\n"); in sload_usage()
148 MSG(0, " -i <ext> compress files with these extensions only.\n"); in sload_usage()
149 MSG(0, " * -i or -x: use it many times for multiple extensions.\n"); in sload_usage()
150 MSG(0, " * -i and -x cannot be used together..\n"); in sload_usage()
151 MSG(0, " -m <num> min compressed blocks per cluster\n"); in sload_usage()
152 MSG(0, " -r readonly (IMMUTABLE) for compressed files\n"); in sload_usage()
153 MSG(0, " ------------------------------------------------------\n"); in sload_usage()
154 MSG(0, " -d debug level [default:0]\n"); in sload_usage()
155 MSG(0, " -V print the version number and exit\n"); in sload_usage()
161 MSG(0, "\nUsage: f2fslabel [options] device [volume-label]\n"); in label_usage()
162 MSG(0, "[options]:\n"); in label_usage()
163 MSG(0, " -V print the version number and exit\n"); in label_usage()
192 MSG(0, "\nWrong program.\n"); in error_out()
225 MSG(0, "\tError: Device not specified\n"); in f2fs_parse_options()
249 MSG(0, "Info: Dry run\n"); in f2fs_parse_options()
253 MSG(0, "Info: No Kernel Check\n"); in f2fs_parse_options()
257 MSG(0, "Info: Do Kernel Check\n"); in f2fs_parse_options()
264 MSG(0, "Info: Fix the reported corruption.\n"); in f2fs_parse_options()
293 MSG(0, "Info: Use default preen mode\n"); in f2fs_parse_options()
307 MSG(0, "Info: Fix the reported corruption in " in f2fs_parse_options()
319 MSG(0, "Info: Debug level = %d\n", c.dbg_lv); in f2fs_parse_options()
325 MSG(0, "Info: Force to fix corruption\n"); in f2fs_parse_options()
329 MSG(0, "Info: Preserve quota limits = %d\n", in f2fs_parse_options()
340 MSG(0, "Info: Use default preen mode\n"); in f2fs_parse_options()
353 MSG(0, "\tError: Unknown encoding %s\n", token); in f2fs_parse_options()
360 MSG(0, "\tError: Unknown flag %s\n", token); in f2fs_parse_options()
402 MSG(0, "Info: Debug level = %d\n", in f2fs_parse_options()
408 MSG(0, "Info: Set conf for android\n"); in f2fs_parse_options()
476 MSG(0, "Info: Debug level = %d\n", in f2fs_parse_options()
536 MSG(0, "Info: Debug level = %d\n", in f2fs_parse_options()
541 MSG(0, "Info: Force to resize\n"); in f2fs_parse_options()
597 MSG(0, "\tError: log of blocks per" in f2fs_parse_options()
617 MSG(0, "\tError: Unknown compression" in f2fs_parse_options()
625 MSG(0, "\tError: could not mix option" in f2fs_parse_options()
635 MSG(0, "\tError: could not mix option" in f2fs_parse_options()
646 MSG(0, "\tError: minimum compressed" in f2fs_parse_options()
666 MSG(0, "Info: Debug level = %d\n", in f2fs_parse_options()
680 MSG(0, "\tError: Expected at most %d selinux opts\n", in f2fs_parse_options()
692 MSG(0, "Info: Not support selinux opts\n"); in f2fs_parse_options()
718 MSG(0, "\tError: compression sub-options are used" in f2fs_parse_options()
730 MSG(0, "\tError: minimum reduced blocks by" in f2fs_parse_options()
778 MSG(0, "\tError: Device not specified\n"); in f2fs_parse_options()
794 MSG(0, "\tError: Wrong option -%c %s\n", option, optarg); in f2fs_parse_options()
797 MSG(0, "\tError: Need argument for -%c\n", option); in f2fs_parse_options()
800 MSG(0, "\tError: Unknown option %c\n", option); in f2fs_parse_options()
803 MSG(0, "\tError: Unknown argument %s\n", argv[optind]); in f2fs_parse_options()
828 MSG(0, "[FSCK] F2FS metadata [Fail]"); in do_fsck()
829 MSG(0, "\tError: meta does not match, " in do_fsck()
832 MSG(0, "[FSCK] F2FS metadata [Ok..]"); in do_fsck()
919 MSG(0, "Not support on readonly image.\n"); in do_defrag()
948 MSG(0, "Info: Move 0x%"PRIx64" <- [0x%"PRIx64"-0x%"PRIx64"]\n", in do_defrag()
953 MSG(0, "Info: Move [0x%"PRIx64"-0x%"PRIx64"] -> 0x%"PRIx64"\n", in do_defrag()
993 MSG(0, "Error: Compression (-c) was requested " in init_compr()
999 MSG(0, "Error: The selected compression algorithm is not" in init_compr()
1013 MSG(0, "Info: No source directory, but it's okay.\n"); in do_sload()
1036 MSG(0, "Info: volume label = %s\n", label); in do_label()
1050 MSG(0, "Info: volume label is changed to %s\n", c.vol_label); in do_label()
1093 MSG(0, "\tError: Not available on mounted device!\n"); in main()
1102 MSG(0, "Info: Force to check/repair FS on RO mounted device\n"); in main()
1104 MSG(0, "Info: Check FS only on RO mounted device\n"); in main()
1126 MSG(0, "Info: No error was reported\n"); in main()