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

Felix Fietkau nbd at nbd.name
Tue Nov 22 08:46:48 PST 2016


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.

- Felix



More information about the Lede-dev mailing list