Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

chroot.md: In fstab, don't set all fs_passno entries to 1 or 2

未關閉
#648 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
55/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
linux

研究方向

首先閱讀 chroot.md 以及其中引用的 fsck.btrfs(8) 和 fsck.xfs(8) 文件。更新 fstab 指南,使 fs_passno 值考量檔案系統特有的行為,包括 issue 中描述的 f2fs 情況。完成的標準是,轉譯後的 chroot 文件不再建議不加區分地指派 1 或 2。

由索引模型根據 Issue 內容生成。

描述

The docs in chroot.md tell to setup fstab by copying /proc/mounts and then modifying it.

They advise to:

Change the last zero of the entry for / to 1, and the last zero of every other line to 2. These values configure the behaviour of fsck(8).

This is generally not desired for btrfs and xfs filesystems, see fsck.btrfs(8) and
fsck.xfs(8). In addition, f2fs currently seems to have problems with its fsck, so it should be set to 0 here as well (which is what the void-installer is currently doing if it's a root FS).

I also created a PR for the void-installer regarding this: https://github.com/void-linux/void-mklive/pull/229

主要語言
CSS
星號
220
分支
214
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

void-linux/void-docs 的其他 Issue

查看 void-linux/void-docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。