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

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


On 2016-11-22 17:48, David Lang wrote:
> 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.
It will be created as an empty overlay filesystem, so there's lots of
free inodes available.

- Felix



More information about the Lede-dev mailing list