Crate export_ffs

source ·
Expand description

Export a as a factory filesystem partition on a provided block device.


  • Export the contents of a as a flat FactoryFS partition on the provided device. All files are extracted from the directory and placed in the FactoryFS partition, with a name that corresponds with the complete path of the file in the original directory, relative to that directory. It takes ownership of the channel to the device, which it assumes speaks fuchsia.hardware.Block, and closes it after all the writes are issued to the block device.