Skip to contentSkip to conversation

df returns nothing

Buildroot Guillaume Dargaud 2 participants 2 messages Sep 20, 2011

lore
Share & tools
lore
#0 lore raw

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)
Signature · 2 lines
Guillaume Dargaud
http://www.gdargaud.net/
#1 lore raw

Hi,

Quoted 11 lines · Guillaume Dargaud

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
Quoted 6 lines
# 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