Merge pull request #939 from flatcar/ext4-inode-size

Switch default ext4 inode size to 256 bytes
This commit is contained in:
Jeremi Piotrowski 2023-06-22 10:17:54 +02:00 committed by GitHub
commit 3613a60ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,7 @@ def FormatExt(part, device):
'-t', part['fs_type'],
'-b', part['fs_block_size'],
'-i', part.get('fs_bytes_per_inode', part['fs_block_size']),
'-I', part.get('fs_inode_size', 128),
'-I', part.get('fs_inode_size', 256),
device,
part['fs_blocks']])

View File

@ -0,0 +1 @@
- Changed ext4 inode size of root partition to 256 bytes. This improves compatibility with applications and is necessary for 2038 readiness ([Flatcar#1082](https://github.com/flatcar/Flatcar/issues/1082))