Why "-" shown under the Filesystem field when command df /dev executed?

Solution Verified - Updated -

Issue

  • /dev is not a filesystem and it is sitting under /.

  • It is expected with the df command on /dev, it will show the df info on / but it is not.

  • Why "df /dev" is showing? '-'

[root@usmlvv1p40a2 /]# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/rootVG-rootLV
                      992M  686M  256M  73% /
[root@usmlvv1p40a2 /]# df -h /dev
Filesystem            Size  Used Avail Use% Mounted on
-                      16G  100K   16G   1% /dev

Environment

  • Red Hat Enterprise Linux (All version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.