2014-03-12 09:28:15 +08:00
|
|
|
#ifndef _FS_H_
|
2014-07-09 04:41:42 +08:00
|
|
|
#define _FS_H_
|
2014-03-12 09:28:15 +08:00
|
|
|
|
2015-11-27 17:29:37 +08:00
|
|
|
#include <string>
|
2014-03-12 09:28:15 +08:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct fs_generator;
|
|
|
|
|
2015-11-03 06:05:57 +08:00
|
|
|
const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
2015-11-27 17:29:37 +08:00
|
|
|
int fs_generator_generate(const struct fs_generator* gen, int tmpFileNo, long long partSize,
|
2017-02-07 06:39:31 +08:00
|
|
|
const std::string& initial_dir, unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0);
|
2014-03-12 09:28:15 +08:00
|
|
|
|
|
|
|
#endif
|