Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

btrfs: setting a label is only supported on a mount point

Aperta
#966 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
C
Stelle
137
Fork
64
Merge medio
1g 5h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di storaged-project/libblockdev

Tutte le issue di storaged-project/libblockdev

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.