The command "df -h" no show me the size of partition true!

Pete Nesbitt pete at linux1.ca
Fri Nov 5 05:13:12 UTC 2004


On November 4, 2004 09:06 pm, Mike Burger wrote:
> On Thu, 4 Nov 2004, Pete Nesbitt wrote:
> > try using -L with df.
> >
> > example:
> > root at nebula temp# df -h
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/hde3              15G  7.1G  7.0G  51% /
> > /dev/hde1              99M  8.1M   86M   9% /boot
> > [output trimmed]
> >
> > root at nebula temp# du -h -s /boot
> > 4.1M    /boot
> > root at nebula temp# du -h -s -L /boot
> > 8.2M    /boot
>
> -L isn't an option for df...it is for du, as you note, but not for df, as
> you suggest.
> --
> Mike Burger
> http://www.bubbanfriends.org

Well, it is always better to have someone else proof read your work :)

-- 
Pete Nesbitt, rhce




More information about the redhat-list mailing list