嗓子有异物感堵得慌吃什么药| 经常喝苏打水有什么好处和坏处| 例假是什么| 男人梦到掉牙什么预兆| 李小龙和丁佩什么关系| 为什么会长汗斑| 宿醉是什么意思| 竹肠是什么部位| 骨质硬化是什么意思| 缠腰蛇是什么原因引起的| 胆囊炎要吃什么药| 奇行种什么意思| 感冒吃什么食物好得快| 中老年吃什么钙片比较好| 口腔溃疡用什么药好得快| 防小人应该佩戴什么| 什么的长江| 葡萄球菌感染是什么原因引起的| 千人千面是什么意思| 体制外是什么意思| 为什么脚底板发黄| 蟋蟀用什么唱歌| 筷子买什么材质的好| 胰腺低密度影什么意思| 血压高会引起什么症状| 抽血血液偏黑什么原因| 阴道炎吃什么| 胃热是什么原因引起的| 人乳头瘤病毒18型阳性是什么意思| 2014年属什么生肖| kda是什么单位| 卤牛肉放什么调料| bbc是什么意思| 肝穿刺检查是什么意思| 辣椒炒肉用什么肉| 灰色配什么颜色好看| 痛风看什么科| 血糖可以吃什么水果| 相濡以沫什么意思| 痤疮是什么样子的| 什么立雪| 烧伤用什么药| 什么情况下必须做胃镜| 白带过氧化氢阳性什么意思| o型血和b型血的孩子是什么血型| 赑屃是什么意思| 胃阳不足吃什么中成药| 梦见蛇蛋是什么意思啊| 官杀是什么| 瓜蒌是什么东西| 复方氨酚烷胺胶囊是什么药| 585是什么金| 除湿气用什么药| 一毛不拔是什么动物| 头皮发麻是什么原因| 脾胃不好吃什么药好| 眼底出血是什么症状| 减肥期间晚上可以吃什么| 下午五点多是什么时辰| 容易头晕是什么原因| 打乙肝疫苗需要注意什么| 尿有味是什么原因| 尿道炎症吃什么药| 春捂秋冻指的是什么意思| 什么木头有香味| 血小板低吃什么食物补得快| captain是什么意思| 指甲变厚是什么原因| 宜子痣是什么意思| pick什么意思| 酒品是什么意思| 位图是什么意思| 血糖为什么会高| 什么的鞋子| 花生属于什么类| 心肾两虚吃什么中成药| 球镜度数是什么意思| 3月14号是什么星座| 沉香对人体有什么好处| 女人阴唇发黑是什么原因| 双侧输尿管不扩张是什么意思| 津津有味什么意思| 什么是肠镜检查| 什么水果对肝脏好| 粑粑黑色是什么原因| 陈世美是什么样的人| 岔气吃什么药最管用| 什么是富氢水| 眩晕是什么原因| 报喜鸟属于什么档次| 椰子水是什么味道| 为什么头发突然秃了一块| ga是什么意思| 欣五行属什么| 哑巴是什么生肖| 此地无银三百两什么意思| 风心病是什么病| 九寨沟属于什么市| 百毒不侵是什么意思| 鸢的俗称是什么| 什么是螨虫型痘痘图片| 心悸是什么意思啊| 传票是什么意思| 代销商是什么意思| 什么是厌氧菌感染| 月子期间可以吃什么水果| 鱼扣是鱼的什么部位| 舌头痒痒的是什么原因| 组织委员的职责是什么| 小孩手指头脱皮是什么原因| 什么是全麦面包| 涩是什么意思| 积阴德是什么意思| 淋球菌阳性是什么病| benny是什么意思| 栀子泡水喝有什么功效| 户名是什么| 吃饭就吐是什么原因| 急性心肌炎有什么症状| 提溜是什么意思| 无可奈何是什么生肖| 梦见蛇是什么预兆| 咽炎挂什么科室| 菊花什么季节开| 异国风情是什么意思| 高粱是什么粮食| 女性前列腺叫什么| 紫花地丁有什么功效| 中秋节吃什么| 阴道痒用什么药好| 6月19日是什么日子| 落花生的落是什么意思| 透析到什么程度会死亡| 呕吐挂什么科| hda是什么| 抱恙是什么意思| hpv检查前需要注意什么| 后人是什么意思| 男人有卧蚕代表什么| 孕妇吃葡萄对胎儿有什么好处| 频繁打喷嚏是什么原因| peb是什么意思| 巾帼指什么| 眼睛发黑是什么原因引起的| 什么是随机血糖| 梦见死人是什么| 吃六味地黄丸有什么好处| 梦见捡手机是什么意思| 考试前不能吃什么| 一天中什么时候最热| 鹅蛋什么人不能吃| pdn是什么意思| 玩得什么| 乳腺彩超什么时候做最准确| 宫颈纳囊是什么病| 梦见嫂子是什么意思| 起司是什么| 上火吃什么食物| 手指头麻木吃什么药| 心脏上有个小洞是什么病| 新生儿黄疸高有什么风险| 蚧壳虫用什么药最有效| 什么是修行人| left是什么意思| 痛风可以吃什么水果| 面瘫看什么科室好| 去医院看心理挂什么科| 脑电图能检查出什么疾病| 脂肪瘤去医院挂什么科| 处女座男和什么星座最配| 梦女是什么意思| 这个表情是什么意思| 排卵期同房后要注意什么| 复试一般会问什么问题| 教师节给老师送什么礼物| 目眩是什么症状| 什么蔬菜补钾| 移居改姓始为良是什么意思| OD是什么| 尿检ph值是什么意思| 眼有眼屎是什么原因| 头晕目眩是什么病的征兆| 九天是什么意思| 什么葡萄品种最好吃| 鼻尖长痘是什么原因| olay是什么品牌| 1月24日是什么星座| 梦到自己快要死了是什么意思| 不忘初心方得始终是什么意思| her2是什么意思| ch表示什么意思| 为什么睾丸一边大一边小| 缺钾吃什么补得最快| 过氧化氢浓度阳性是什么意思| 用什么点豆腐最健康| 男命食神代表什么| 什么菜好吃| 孕囊小是什么原因| 减肥饿了可以吃什么| 二月初二是什么星座| 血小板压积偏高是什么意思| 五月二十一号是什么星座| 光合作用是什么| 冰糖里面为什么有白线| 大公鸡是什么牌子| 牛标志的车是什么牌子| 4.25是什么星座| 为什么男生| 晚上睡觉脚抽筋是什么原因| 经常嗳气是什么原因| 什么东西补铁效果好而且最快| 舌头发白是什么原因| 寸关尺代表什么器官| 装腔作势什么意思| 炸酥肉用什么粉| erke是什么牌子| 肝属于五行中的什么| 女性胃炎有什么症状| 骨质疏松打什么针| 什么萌| 海鸥手表属于什么档次| 闲敲棋子落灯花上一句是什么| 被虫咬了挂什么科| 沙茶酱是什么做的| 大是大非是什么意思| 痔疮吃什么药效果好| 西米是用什么做的| 汕头有什么好玩的地方| 得逞是什么意思| 40不惑什么意思| 小孩尖叫是什么原因| 氰化钾是什么| 急性腹泻拉水吃什么药| 自然色是什么颜色| 心率过高是什么原因| 形同陌路什么意思| 流涎是什么意思| 这是什么英文| 什么品牌的沙发好| 八面玲珑是什么意思| 小孩小腿疼是什么原因引起的| 天无二日指什么生肖| 牙龈发炎是什么原因| 樱花什么时候开| 牛肉炒什么| 梦到喝酒是什么意思| 小腿为什么会抽筋| 量贩式ktv是什么意思| 玉米是什么时候传入中国的| 蝙蝠长什么样| 脚转筋是什么原因| 拔罐是什么意思| 牙齿痛吃什么消炎药| 馒头配什么菜好吃| 搬家当天有什么讲究| 进产房吃什么补充体力| 所以我求求你别让我离开你是什么歌| kalenji是什么品牌| olp是什么意思| 电饭煲煮粥为什么会溢出来| 大便酸臭味是什么原因| 遇上方知有什么意思| 结晶是什么| 流连忘返的返是什么意思| 百度

小孩头发黄是什么原因

百度 显然,京东就是希望借助当前在网吧里最流行的吃鸡游戏,以标准和专用之名,自上而下地推动网吧购买其硬件产品。

31 years after the start of its career in 1993, it’s time for ext2 to retire. Here we are talking about the driver for this filesystem, not exactly the filesystem itself. Continue reading to understand the subtle difference.

It’s the ext2 filesystem driver that will be marked as deprecated in the upcoming 6.9 Linux kernel. The main issue is that even if the filesystem is created with 256 byte inodes (mkfs.ext2 -I 256), the filesystem driver will stick to 32 bit dates. Because of this, the driver does not support inode timestamps beyond 03:14:07 UTC on 19 January 2038.

By the way, if you are still using ext2 and its driver, and your system date is set correctly to a date at most 30 years before the deadline, you will get this warning:

# mount -t ext2 /dev/sda1 /mnt
[  441.680685] ext2 filesystem being mounted at /mnt supports timestamps until 2025-08-07 (ox7fffffff)

I checked this by myself, by setting my system date to several dates in the future:

# date -s "2025-08-07 03:13:30"
Sat Feb 24 03:13:30 UTC 2029
# touch /mnt/foo1
# date -s "2025-08-07 03:13:30"
Mon Jan 18 03:13:30 UTC 2038
# touch /mnt/foo2
# date -s "2025-08-07 03:13:30"
Wed Jan 20 03:13:30 UTC 2038
# touch /mnt/foo3
# date -s "2025-08-07 03:13:30"
Mon Jan 20 03:13:30 UTC 2048
# touch /mnt/foo4
# ls -la /mnt
drwxr-xr-x    3 0        0             4096 Jan 19  2038 .
drwxrwxr-x   13 1000     1000          4096 Feb 20  2024 ..
-rw-r--r--    1 0        0                0 Feb 24  2029 foo1
-rw-r--r--    1 0        0                0 Jan 18  2038 foo2
-rw-r--r--    1 0        0                0 Jan 19  2038 foo3
-rw-r--r--    1 0        0                0 Jan 19  2038 foo4

As you can see, the last files created after the deadline are stuck with the same date. This will most certainly cause problems in several programs.

Users are advised to mount their filesystem with the ext4 driver. The ext4 filesystem driver is fully compatible with ext2, though the filesystem will remain an ext2 one.

First, make sure that you don’t have a 128 bytes inode size, which corresponds to 32 bit dates:

# sudo tune2fs -l /dev/sda1 | grep "Inode size"
Inode size:	          128

If that’s the case, it is possible to increase the inode size:

# sudo e2fsck -f /dev/sda1
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
ext2test: 14/477664 files (0.0% non-contiguous), 19254/1904816 blocks

# sudo tune2fs -I 256 /dev/sda1 
tune2fs 1.46.5 (30-Dec-2021)
Resizing inodes could take some time.
Proceed anyway (or wait 5 seconds to proceed) ? (y,N) y
Setting inode size 256

Note that if you create your filesystem with mkfs.ext2 (at least from e2fsprogs version 1.46.5 in Ubuntu 22.04), the filesystem is created with 256 bit inodes anyway:

mkfs.ext2 /dev/sda1

So, if you mount it with the ext4 driver, it will remain an ext2 filesystem but will support 64 bit dates!

By the way, using the ext4 filesystem directly (instead of mounting ext2 through the ext4 driver), is also a relevant option, as it can work without a journal and extents for small partitions. For example, pass the -O ^has_journal option to mkfs.ext4 to create an ext4 filesystem without a journal.

Note that if you really miss the ext2 driver and its simplicity, it’s not too late to make it support 64 bit dates. Kernel developer Ted T’so said it wouldn’t be so difficult to implement.

See the whole discussion that led to this change.

Author: Michael Opdenacker

Michael Opdenacker is the founder of Bootlin, and was its CEO until 2021. He is best known for all the free embedded Linux and kernel training materials that he created together with Thomas Petazzoni. He is always looking for ways to increase performance, reduce size and boot time, and to maximize Linux' world domination. More details...

5 thoughts on “ext2 filesystem driver now marked as deprecated”

  1. Sorry if it’s a stupid question, but… why not have the driver outright removed? I mean, you said that ext4 driver is fully compatible with it, so basically you have two drivers for the same functional, except one is future-proof and widely used and the other one neither. So why bother with deprecation?

  2. Maybe because it’s good to leave time between the time a driver is deprecated and when it’s removed. This way, you don’t break the configurations that use it.
    Another argument was that it would be feasible to add 64 bit date support to the ext2 driver. So, keeping the driver while deprecating it may allow this to happen, and cancel the deprecation.

    1. > Maybe because it’s good to leave time between the time a driver is deprecated and when it’s removed. This way, you don’t break the configurations that use it.

      How do you imagine such dependency? Usually people rely on specific kernel driver because it provides some special functional. I just looked at `modinfo ext2 | grep parm` on my Arch with 6.8.2 kernel and it’s empty. So ext2 provides no module options that somebody could’ve relied upon. Another reason would be something special in someone’s `fstab` file, but I just looked through `man fstab` and it doesn’t seem to support choosing a driver explicitly.

      So… what gives?

Leave a Reply

肝胆湿热用什么药 身上长红色痣是什么原因 tid是什么意思 内向的人适合做什么工作 胆碱是什么
湿气重看中医挂什么科 吧可以组什么词 上升星座是什么意思 重阳节是什么生肖 上火吃什么药好
什么是u 为什么趴着睡觉会胀气然后打嗝 舌苔厚白腻是什么原因引起的 为什么会得扁平疣 twice是什么意思
黑天天的学名叫什么 梵高的星空表达了什么 九月二十九号是什么星座 6月20号是什么星座 奶嚼口是什么
rash什么意思hcv8jop7ns6r.cn 画蛇添足告诉我们什么道理hcv9jop3ns5r.cn 夏天能种什么菜zsyouku.com 胃体息肉是什么意思hcv8jop0ns5r.cn 巧克力囊肿有什么症状表现chuanglingweilai.com
6月24日是什么日子hcv8jop8ns2r.cn 嗓子疼发烧吃什么药hcv7jop7ns1r.cn 总有眼屎是什么原因hcv7jop7ns4r.cn 尿后余沥是什么意思hcv8jop8ns9r.cn 伏案什么意思hcv9jop3ns9r.cn
拆线挂什么科hcv8jop4ns9r.cn 便秘吃什么药最好hcv9jop3ns7r.cn 桃子有什么营养价值hcv8jop8ns5r.cn 锅贴是什么hcv9jop6ns9r.cn 海参什么样的好hcv8jop7ns7r.cn
范思哲手表什么档次hcv9jop6ns6r.cn 性张力什么意思hcv7jop5ns0r.cn 古人的婚礼在什么时间举行dajiketang.com 捡什么废品最值钱hcv7jop5ns0r.cn 30度穿什么衣服合适dajiketang.com
百度