[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df, incorrect output, documentation not too clear
From: |
Bob Proulx |
Subject: |
Re: df, incorrect output, documentation not too clear |
Date: |
Sun, 15 Dec 2002 12:20:57 -0700 |
User-agent: |
Mutt/1.4i |
David Lawyer <address@hidden> [2002-12-13 12:51:25 -0800]:
> I have no hard drive /dev/hdd. But if I type "df /dev/hdd" it displays
> the data for the current drive: hda2. If you read the manual closely
> enough, this is what it's supposed to do, but it's not too clear to a
> person who just glances at it.
I find it amazingly coincidental that after years of reading this list
I had never heard anyone complain about this particular behavior of
df. But then in the last two days you are the second person to have
reported it! I would point you to the archive but it is broken right
now.
> The output on my screen reads: Filesystem /dev/hdd and then it lists the
> data for /dev/hda2 (but never displays the name hda2). So the ouput
> displayed on the screen should show /dev/hda2 as the file sytem. The
> manual and help should clearly point out that using say /dev/hdb2 as the
> "FILE" will not find data for /dev/hdb2 (unless /dev/hdb2 is a (block
> special) file located in the /dev/hdb2 filesystem). This can be said
> in fewer words for the --help option. You might say that to use df, the
> filesystem you want to check must be mounted.
I think it is a bug to be fixed.
Bob