1 --- busybox-1.00/coreutils/df.c 2004-08-02 20:14:01.000000000 -0400
2 +++ busybox-1.00/coreutils/df.c.new 2006-06-29 10:56:43.256528750 -0400
6 if ((s.f_blocks > 0) || !mount_table){
9 blocks_used = s.f_blocks - s.f_bfree;
10 blocks_percent_used = 0;
11 if (blocks_used + s.f_bavail) {
13 ) / (blocks_used + s.f_bavail);
16 - if (strcmp(device, "rootfs") == 0) {
18 - } else if (strcmp(device, "/dev/root") == 0) {
19 + if (strcmp(device, "/dev/root") == 0 || strcmp(device, "rootfs") == 0) {
20 + if (root_done) continue;
21 /* Adjusts device to be the real root device,
22 * or leaves device alone if it can't find it */
23 if ((device = find_real_root_device_name()) == NULL) {
29 #ifdef CONFIG_FEATURE_HUMAN_READABLE