跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[Linux] NixOS 和 Fedora Silverblue 比较

发表于

这两者都是比较出名的 immutable distro ,都提供原子化的更新,版本回退。有没有人详细说明一下两者在实现方式的区别和优缺点?

目前只对 Silverblue 有过了解。所以说说我知道的,Silverblue 利用的是 ostree/rpm-ostree 管理系统的。Silverblue 每次更新系统时,是从服务端拉取一个 base image ,然后基于这个 base image 再把额外安装的包(官方术语为 layered package )安装上去,并且成为一个快照。系统保留至少两个快照,因此总是存在一个可用的快照版本可以回退过去。由于每次更新都会从服务端拉去一个 base image ,这种做法相当于结合了 image based 更新和传统基于包管理器的更新方式,使得客户端和服务端的状态能保持一致。并且由于 ostree 是 content-addressable 的,重复的文件不会多占用空间。

对 NixOS 了解不是很多。只知道 nixos 提供了不同的 namespace ,因此可以同时安装多个版本的包,不过不知道具体实现是如何的?如果不同的 namespace 之间相互有重复的文件,是否占用双倍的空间?

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.