638d05e84e
fastboot -w --fs-options=casefold fastboot -w --fs-options=casefold,projid fastboot format:f2fs --fs-options=casefold fastboot format:f2fs --fs-options=casefold,projid fastboot format:f2fs --fs-options=casefold,projid,compress Bug: 172514669 Bug: 160198145 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: If3fad004fdd25dd754432ce98934b4ae6c8a8706
17 lines
495 B
C++
17 lines
495 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <stdint.h>
|
|
|
|
struct fs_generator;
|
|
|
|
enum FS_OPTION {
|
|
FS_OPT_CASEFOLD,
|
|
FS_OPT_PROJID,
|
|
FS_OPT_COMPRESS,
|
|
};
|
|
|
|
const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
|
int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
|
|
const std::string& initial_dir, unsigned eraseBlkSize = 0,
|
|
unsigned logicalBlkSize = 0, unsigned fsOptions = 0);
|