mirror of
https://github.com/AltraMayor/f3.git
synced 2025-12-13 20:39:59 +01:00
f3probe: rewrite file device
This patch makes file devices use the same geometry model that probe_device() probes for. This change helps one to test whatever probe_device() finds in the field.
This commit is contained in:
@@ -33,7 +33,7 @@ enum fake_type dev_param_to_type(uint64_t real_size_byte,
|
||||
struct device;
|
||||
|
||||
struct device *create_file_device(const char *filename,
|
||||
int file_size_gb, int fake_size_gb, enum fake_type fake_type);
|
||||
uint64_t real_size_byte, uint64_t fake_size_byte, int wrap);
|
||||
|
||||
struct device *create_block_device(const char *filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user