Changes between Version 19 and Version 20 of linux/ubi


Ignore:
Timestamp:
04/24/2019 10:41:57 PM (3 months ago)
Author:
Tim Harvey
Comment:

added note about -F param for mkfs.ubifs

Legend:

Unmodified
Added
Removed
Modified
  • linux/ubi

    v19 v20  
    129129}}}
    130130 * the -c parameter (max-peb-count) of 16248 assures that the filesystem can be sized up to 16248*124KiB or 1.9GiB provided there is remaining space in the ubi
     131 * the -F parameter sets the free-space-fixup flag causing the filesystem to be resized on mount not to exceed the max-peb-count argument passed with the -c parameter (assuming the volume is dynamic and has blocks remaining)
    1311324. use {{{ubinize}}} to create a ubi image (which can be written to a suitable raw NAND device in U-Boot using {{{nand write}}} or in Linux via {{{ubiformat}}}):
    132133{{{#!bash
     
    163164}}}
    164165 * the -c parameter (max-peb-count) of 8124 assures that the filesystem can be sized up to 8124*248KiB or 1.9GiB provided there is remaining space in the ubi
     166 * the -F parameter sets the free-space-fixup flag causing the filesystem to be resized on mount not to exceed the max-peb-count argument passed with the -c parameter (assuming the volume is dynamic and has blocks remaining)
    1651674. use {{{ubinize}}} to create ubi image (which can be written to a suitable raw NAND device in U-Boot using {{{nand write}} or in Linux via {{{ubiformat}}}:
    166168{{{#!bash