On Wednesday 27 February 2008 18:08:40 Clem Taylor wrote:
> On Wed, Feb 27, 2008 at 9:41 AM, Denys Vlasenko
> <[EMAIL PROTECTED]> wrote:
> >  Will "find the latest line for '/'" work?
> 
> The work around I initially tried was to parse /proc/cmdline and map
> 'root=[0-9a-f]+' to a device. I didn't really like doing this, so I
> just backed out the df change as a patch to my buildroot.
> 
> >  It was done to match coreutils.
> 
> I hadn't noticed this with coreutils 6.9:
> 
> $ cat /proc/mounts
> rootfs / rootfs rw 0 0
> /dev/root / xfs rw,sunit=512,swidth=1536,ikeep,noquota 0 0
> /proc /proc proc rw 0 0
> ....
> 
> $ /bin/df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0              2.1T  1.9T  194G  91% /
> /dev/sda1             130M   41M   82M  34% /boot
> ...
> 
> $ /bin/df --version
> df (GNU coreutils) 6.9
> 
>                                              --Clem

Hi,
same here with  df (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.

 df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md2             465119584  72600592 368892208  17% /
varrun                 2073904        96   2073808   1% /var/run
varlock                2073904         4   2073900   1% /var/lock
udev                   2073904       188   2073716   1% /dev
devshm                 2073904         0   2073904   0% /dev/shm
/dev/md0                101018     32319     63483  34% /boot

Ciao,
Tito
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to