Subject: RE: Quickie question regarding 40GB drive/1.5 (missing half)
To: Kahari, Andreas <andreas.kahari@agresearch.co.nz>
From: None <sudog@sudog.com>
List: port-i386
Date: 04/16/2001 15:34:32
I've never felt so appreciative for feeling like a moron in a long
time. :) No offence, but thank you. I was slightly concerned because I
had run some scripts which created 500,000 small files in a giant
directory tree to test out some other software I'm monkeying with
right now--and I guess I was root in one window and the user in
another...
doh!
On Tue, 17 Apr 2001, Kahari, Andreas wrote:
> Date: Tue, 17 Apr 2001 10:12:28 +1200
> From: "Kahari, Andreas" <andreas.kahari@agresearch.co.nz>
> To: "'sudog@sudog.com'" <sudog@sudog.com>
> Subject: RE: Quickie question regarding 40GB drive/1.5 (missing half)
>
> As root, you get the output from 'df' in 512b blocks, as user you get it in
> 1K blocks (see the header of your output below)
>
> Personally I always do 'df -k'.
>
> Read the manual for 'df'.
>
> /A
>
> > -----Original Message-----
> > From: sudog@sudog.com [mailto:sudog@sudog.com]
> > Sent: Tuesday, April 17, 2001 9:53 AM
> > To: netbsd-help@netbsd.org
> > Cc: port-i386@netbsd.org
> > Subject: Quickie question regarding 40GB drive/1.5 (missing half)
> >
> >
> >
> > As a normal user under this Duron 700, KX133 VIA blah blah system:
> >
> > :douglas:14:43:47 ~# su -l marc
> > :douglas:14:57:36 ~$ df
> > Filesystem 512-blocks Used Avail Capacity Mounted on
> > /dev/wd0a 5943492 354898 5291418 6% /
> > /dev/wd0e 15847520 4240758 10814386 28% /usr
> > /dev/wd0f 16159518 2 15351540 0% /doke
> > kernfs 2 2 0 100% /kern
> > :douglas:14:57:38 ~$
> >
> > Yet as root:
> >
> > :douglas:14:33:55 ~# df
> > Filesystem 1K-blocks Used Avail Capacity Mounted on
> > /dev/wd0a 2971746 177449 2645709 6% /
> > /dev/wd0e 7923760 2120379 5407193 28% /usr
> > /dev/wd0f 8079759 1 7675770 0% /doke
> > kernfs 1 1 0 100% /kern
> > :douglas:14:56:29 ~#
> >
> > The user df is correct, definitely. disklabel is correct (and shows
> > the 15MB/etc values.
> >
> > Is there something I'm missing here? Like half my drive?
> >
> > marc
> >
> >
>