[LEDE-DEV] [PATCH] include: image.mk: ext4: double the default inode counter

David Lang david at lang.hm
Tue Nov 22 08:48:00 PST 2016


On Tue, 22 Nov 2016, Felix Fietkau wrote:

> On 2016-11-22 17:43, David Lang wrote:
>> On Tue, 22 Nov 2016, Felix Fietkau wrote:
>>
>>>> On a 16M filesystem, we probably want to use a 1K block size and have an inode
>>>> for every couple of blocks.
>>> I'd say on a 16M filesystem we probably want to use squashfs+ext4
>>> instead of plain ext4 and avoid the inode issue altogether.
>>
>> I'm not sure I understand how this would work?
> Pad a plain squashfs image to the intended target size, include mke2fs
> and mkf2fs (for bigger sizes) in the image.
> fstools will take care of the rest at boot time.

you still have to set the parameters for mkfs to use.

David Lang



More information about the Lede-dev mailing list