btrfs: setting a label is only supported on a mount point
还没有人认领这个 Issue。
评估
调研方向
The payload names no source files, tests or entry points, so there is no obvious place to start. The reporter says the mountpoint-only behaviour is not a real problem and that changing the API would break libblockdev, so the first step is a maintainer decision on whether device-based btrfs labelling is wanted at all. Done would mean that decision is recorded on the issue, with or without a follow-up change.
由索引模型根据 Issue 内容生成。
描述
I noticed that setting a label is only supported via a mountpoint for btrfs, while in theory a label can be set on a device.
btrfs filesystem label [<device>|<mountpoint>] [<newlabel>]
Most other set_label functions seem to use the device. Which in Cockpit leads a somewhat inconsistent experience when the filesystem is not mounted. (In theory we can work around it by first mounting it temporary, set label and umount).
Changing the API over to a mountpoint would break libblockdev's API so I guess that is a not an option and this isn't a real "breaking" or high priority issue for us. (Read: no issue at all)
- 主要语言
- C
- 星标
- 137
- 派生
- 64
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
storaged-project/libblockdev 的其他 Issue
-
fails to build with libnvme3 (nvme-cli 3.0)可能已有人在做 @tbzatek 于 39 天前认领。 未关闭
storaged-project/libblockdev#1211 · 4 条评论 · 已指派 1 人 ·
-
RFE
难度 3/5 1-2 天 新手友好度 35/100
storaged-project/libblockdev#1093 · 3 条评论 ·
-
难度 4/5 一周以上 新手友好度 18/100
storaged-project/libblockdev#1067 ·
-
难度 3/5 半天 新手友好度 40/100
storaged-project/libblockdev#1060 · 1 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 12/100
storaged-project/libblockdev#977 · 1 条评论 ·
查看 storaged-project/libblockdev 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
zephyrproject-rtos/zephyr#123423 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
nextbsd/nextbsd-userland#434 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
[YSQL] Local-node initdb reads postgres.bki, but YB clusters bootstrap only from yb_postgres.bki未关闭area/ysql kind/enhancement priority/low status/awaiting-triage
难度 2/5 1-3 小时 新手友好度 72/100
yugabyte/yugabyte-db#35763 ·
维护者通常 1 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 2 天内回复