df output differs from GNU df for LVM2 volumes

オープン
#16,683 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
24.4k
フォーク
2.2k
平均マージ
2日 23時間
マージ済み PR(30日)
402

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uutils/coreutils のほかの issue

uutils/coreutils の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。