取得 CentOS 6 中的最新儲存庫

取得 CentOS 6 中的最新儲存庫

我有一個 CentOS 6 VPS,想在上面使用 btrfs。但是,提供的版本yum是 btrfs-v0.2,是 2013 年的。這怎麼可能?

答案1

即使在 RedHat 7.2 中,btrfs 也具有技術預覽的地位 -https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.2_Release_Notes/technology-preview-file_systems.html

Btrfs 有 2 個元件:

  1. 內核支援 -https://btrfs.wiki.kernel.org/index.php/Changelog#By_feature
  2. 使用者空間實用程式 -https://btrfs.wiki.kernel.org/index.php/Changelog#By_version_.28btrfs-progs.29

因此,您不可能透過官方 CentOS 儲存庫(RedHat 的公共重建)獲得最新的核心(具有 btrfs 最新支援)和用戶空間實用程式

您可以獲取原始程式碼並編譯用戶空間實用程序,但請閱讀此連結以紅色顯示的內容https://btrfs.wiki.kernel.org/index.php/Getting_started

基本上,如果您不重視資料 - 您可以嘗試從 Fedora、Suse 或 Oracle EL 找到一些最新的 btrfs-progs rpm,然後看看是否可以安裝它。但由於 CentOS 核心並不是最新的東西(儘管 RedHat 確實從最新核心向後移植了程式碼)並且不清楚該核心中 btrfs 支援的等級 - 你將玩彩票。

相關內容