[Buildroot] df returns nothing

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Tue Sep 20 09:48:20 UTC 2011


Hi,

On Tue, Sep 20, 2011 at 11:14 AM, Guillaume Dargaud
<dargaud at lpsc.in2p3.fr> wrote:
> Hello all,
> it's not really a problem as my buildroot system is working fine, but df returns nothing. I'm using a cpio ramdisk
> embedded in the kernel, so that's probably the reason, still I'm curious as to why I can't get an answer:
>
> # df
> Filesystem                Size      Used Available Use% Mounted on
>
> # df /
> Filesystem                Size      Used Available Use% Mounted on
> df: /: can't find mount point
>
> # mount
> rootfs on / type rootfs (rw,relatime)
> proc on /proc type proc (rw,relatime)
> devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
> sysfs on /sys type sysfs (rw,relatime)
>

Just FYI, on my system, with an ext2 rootfs, I see:

# df
Filesystem                Size      Used Available Use% Mounted on
/dev/root                16.3M     14.6M    879.0K  94% /
tmpfs                   977.1M     36.0K    977.0M   0% /tmp
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,relatime)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)

Best regards,
Thomas


More information about the buildroot mailing list