Hacker News | 📄 原文链接 | 2026-11-13 收录

开机不再刷屏:把 systemd 任务画成一棵活树

来源:codeberg.org — 2026-11-09

📋 概述

bootvine 用一棵实时更新的树替换掉内核与 systemd 滚动的日志行:只显示还没完成的单元,树旁边的空隙里放着最慢的几个任务的时间线。它还跟进关机流程,能就地处理磁盘加密解锁这类口令提示,失败时给出该单元最后的日志。作者做它的原因很朴素:大部分发行版的开机画面就是一堆翻得太快、看了也不知道在干什么的日志。运行要求 systemd 246 以上、libdbus 与 libsystemd,以及一个虚拟终端。

🔑 核心要点

💡 金句

It replaces the scrolling kernel and systemd lines with the units still pending and, in the room the tree leaves, a timeline of the slowest ones that ran.
← 返回 Hacker News 首页