missing y2038 support
missing y2038 support
Posted Mar 7, 2022 21:11 UTC (Mon) by arnd (subscriber, #8866)Parent article: When and why to deprecate filesystems
While this sounds like as good an excuse for removing file systems as any other, I don't think this should be the main reason. Half the file system implementations we have by now only exist in order to access old disk images, and this works regardless of whether one is able to create new files or not. We originally had a patch to refuse writable mounts on file systems that have known y2038 bugs, making those images read-only, but that got Nack'ed and we ended up with just a warning printed to the console.
Side note: reiserfs doesn't actually have a y2038 problem at all, it uses unsigned 32-bit timestamps with a range from 1970 to 2106. https://kernelnewbies.org/y2038/vfs lists the limits, I think only ext2/ext3, coda, exofs, hostfs, and ufs1 still have the y2038 problem, and a few others have been changed to interpret the seconds as unsigned.
