[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partman recipes and deprecation of ext2



On Sun, 2024-11-10 at 12:36 +0100, Pascal Hambourg wrote:
> Hi Ben,
> 
> On 10/11/2024 at 01:50, Ben Hutchings wrote:
> > 
> > The ext2 filesystem uses 32-bit timestamps and will be unable to
> > represent timestamps beyond early 2038.  It is now deprecated in Linux
> > for this reason.
> 
> What exactly is deprecated ? The ext2 standalone driver (which is 
> disabled in Debian kernels), ext2 support in the ext4 driver, or both ?

The ext2 standalone driver is deprecated.  I assumed this meant that
extended timestamps are not allowed in the ext2 format, because
otherwise they could have been added to that driver.

> IIUC 64-bit timestamps require at least 256-byte inodes, and ext2 
> supports 256-byte inodes. Or am I missing something ?
[...]

No, it appears you are right and we don't need to change this.

(I do think it would be a good idea to use a more robust filesystem for
/boot anyway, but that's a separate issue.)

We do have a lingering problem of systems originally installed with
buster or earlier, that use 128-byte inodes.  But I don't think there's
much we can do about that other than tell the affected users to
reinstall before 2038.

Ben.

-- 
Ben Hutchings
Experience is what causes a person to make new mistakes
instead of old ones.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: