TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Linux ext2 filesystem driver now marked as deprecated

163 pointsby rrampageabout 1 year ago

10 comments

ch33zerabout 1 year ago
For anyone looking to learn a bit more about filesystems ext2 strikes a great balance of simplicity and real world practicality, making it good to learn from. Code here <a href="https:&#x2F;&#x2F;elixir.bootlin.com&#x2F;linux&#x2F;v3.9&#x2F;source&#x2F;fs&#x2F;ext2" rel="nofollow">https:&#x2F;&#x2F;elixir.bootlin.com&#x2F;linux&#x2F;v3.9&#x2F;source&#x2F;fs&#x2F;ext2</a>
评论 #39871108 未加载
indigodaddyabout 1 year ago
I remember even into the early 2010s we would still just make for example &#x2F;boot ext2 for simplicity sake (perhaps?). Is that still in practice? Haven’t been in the OS deployment weeds for a minute..
评论 #39871034 未加载
评论 #39871022 未加载
评论 #39871134 未加载
评论 #39873154 未加载
infamouscowabout 1 year ago
From a code standpoint, this has been more or less the case for a few years.<p>The ext4 driver is fully compatible with ext2.
评论 #39870226 未加载
评论 #39860484 未加载
userbinatorabout 1 year ago
I&#x27;m not very familiar with Linux filesystem drivers, but it seems odd that there&#x27;s separate ext2, presumably ext3, and ext4 drivers when the latter are (100%?) backwards-compatible with the former filesystems.
评论 #39873885 未加载
评论 #39871858 未加载
评论 #39873009 未加载
评论 #39871429 未加载
评论 #39872369 未加载
NelsonMinarabout 1 year ago
I really appreciate all this slow but inevitable work to solving the 2038 problem. In the wake of Y2K when we first talked about 2038 it was a joke, &quot;ah we&#x27;ll all be retired then and anyway computers will be totally different&quot;. But here we are now, 24 years later and 14 years before the actual deadline. Thankfully folks are doing the work of fixing the deeper system limitations.<p>I&#x27;m retired now but fully expecting to dust off a bunch of Unix skills in late 2037, early 2038. I suspect by then many people who know how to, say, build a Linux kernel from the command line will either be dead, retired, or too busy doing more fun things.
m463about 1 year ago
I wonder if they will rename all the *2* utilities<p>(e2fsck, resize2fs, etc)
评论 #39872739 未加载
pjmlpabout 1 year ago
I still remember when it was brand new and only advised for those willing to take a risk with their data.
omoikaneabout 1 year ago
Related, list of filesystems and their rollover dates:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;y2038&#x2F;y2038-list?tab=readme-ov-file#file-systems">https:&#x2F;&#x2F;github.com&#x2F;y2038&#x2F;y2038-list?tab=readme-ov-file#file-...</a><p>Note that the earliest date on the list is 2028 with isofs (used on CDs).
jezzeabout 1 year ago
I don&#x27;t understand the immediate concern about using 32 bits for file creation and modification times. Its reasonable to assume that if the value has overflown and is very low that its not indicating a date from 1970. There is probably room to add a single bit indicating if the epoch is 1970 or 2038.
评论 #39878398 未加载
评论 #39878439 未加载
jasoneckertabout 1 year ago
Now hopefully we&#x27;ll get a new version of mkfs that doesn&#x27;t use ext2 by default when a filesystem type is not specified.
评论 #39870668 未加载
评论 #39872394 未加载