df does not report my root file system
Ming-Ching Tiew
mingching.tiew at redtone.com
Mon Jul 10 18:18:16 PDT 2006
I have tried with bb 1.0 and bb 1.2.0.
And I think it is almost independent of bb version.
Please note that your case is different from what I
am reporting. I have no doubt that df will work under
your scenario. But I issued the command 'df' inside
the initramfs, I have no other block devices mounted
under the root, ie initramfs is my root file system.
Regards.
----- Original Message -----
From: "walter harms" <wharms at bfs.de>
To: "Ming-Ching Tiew" <mingching.tiew at redtone.com>
Cc: <busybox at busybox.net>
Sent: Tuesday, July 11, 2006 12:36 AM
Subject: Re: df does not report my root file system
> please,
> what version fo bb you are using ?
> what processor ?
> my bb works fine:
> $ busybox
> BusyBox v1.1.0 (2006.06.26-17:06+0000) multi-call binary
>
>
> $df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/flash3 9032 9032 0 100% /
> /dev/flash2 4736 1064 3672 22% /mnt/flash
> tmpfs 10240 400 9840 4% /var
>
> i will be away the next few days. please provide the needed information
> on the list.
>
> re,
> walter
>
>
> Ming-Ching Tiew wrote:
> > This is the output of these commands :-
> >
> > # ls -al /dev/ram0 /dev/root
> > brw-rw---- 1 root root 1, 0 July 10 15:30 /dev/ram0
> > lrwxrwxrwx 1 root root 9 July 10 15:30 /dev/root -> /dev/ram0
> > # cat /proc/mounts
> > rootfs / rootfs rw 0 0
> > /proc /proc proc rw 0 0
> > # df
> > Filesystem 1k-blocks Used Available
> > (blank output except for the header )
> >
> > This is executed in initramfs.
> >
> > Now my problem is that 'df' does not report the root filesystem.
> > What do I have to do to make it report the root files system ?
> >
> > Regards.
> >
> >
More information about the busybox
mailing list