df output differs from GNU df for LVM2 volumes

Aperta
#16,683 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

The report shows df using /dev/dm-0 where GNU df shows the LVM mapper name, but it does not identify the relevant source file or tests. Start by locating the df implementation and existing filesystem-name tests, then trace how device names are obtained. Done means LVM2 volumes display their recognizable mapper name while existing df output remains correct.

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

Descrizione

U - df

Hi,

my system's root partition is on an LVM2 volume.

$ df
Filesystem      1K-blocks       Used Available Use% Mounted on
[...]
/dev/dm-0      1943047968 1327151468 518283292  72% /
$ gnudf
Filesystem                    1K-blocks       Used Available Use% Mounted on
/dev/mapper/MonVolume-Racine 1943047968 1326773748 518661012  72% /

The GNU version seems better, as it uses a recognizable name chosen by the user/admin.

Lingua principale
Rust
Stelle
24.4k
Fork
2.2k
Merge medio
2g 23h
PR unite (30g)
402

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 uutils/coreutils

Tutte le issue di uutils/coreutils

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.