df output differs from GNU df for LVM2 volumes

Đang mở
#16,683 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
24.4k
Fork
2.2k
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
402

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của uutils/coreutils

Tất cả issue của uutils/coreutils

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.