Changes between Version 23 and Version 24 of linux/ubi


Ignore:
Timestamp:
06/01/2020 08:36:49 PM (4 years ago)
Author:
Cale Collins
Comment:

updated mkfs process to match what's done in our Jeknins script.

Legend:

Unmodified
Added
Removed
Modified
  • linux/ubi

    v23 v24  
    1261263. create a ubifs image for the 2048 byte page size 'normal' device geometry:
    127127{{{#!bash
    128 mkfs.ubifs -F -m 2048 -e 124KiB -c 16248 -o root.ubifs -d tmp
    129 }}}
     128mkfs.ubifs -F -m 2048 -e 124KiB -c 16248 -x zlib -o root.ubifs -d tmp
     129}}}
     130
    130131 * 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
    131132 * 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)