[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disk space blackhole?



* Adam Majer (adamm@galacticasoftware.com) spake thusly:
> On Sat, Jan 26, 2002 at 07:02:41PM -0600, Ron Johnson wrote:
> > On Sat, 26 Jan 2002 19:02:56 -0500 "Michael P. Soulier" <msoulier@mcss.mcmaster.ca> wrote:
> > >     Umm...little help?
> > > 
> > > rabbit:/home/msoulier# df .
> > > Filesystem           1k-blocks      Used Available Use% Mounted on
> > > /dev/hda4               831200    811831         0 100% /
> > > 
> > >     This is my router/firewall at home. There's no blocks available, but
> > > there's a total of 831200 with 811831 in use? That's 19369 available, no??
> > 
> > What does "df -i" show?
> 
> see man df
> 
>        -i, --inodes
>               list inode information instead of block usage
> 
> I think it's 1 inode per file. So it tells you the
> number of files you can still put on the thing.

Nitpick: hardlinks are additional inodes pointing to the same file.
Also, a normal file may have more that 1 inode if theres indrection
(not sure how ext2 (?) does this, though).

Dima



Reply to: