[BusyBox] df and CONFIG_TINY_SHMEM
Steven Scholz
steven.scholz at imc-berlin.de
Mon Nov 22 19:16:02 UTC 2004
Hi there,
linux-2.6.x offers
# CONFIG_SHMEM is not set
CONFIG_TINY_SHMEM=y
When using this options busybox "df" does not show the tmpfs fs.
~ # mount
/dev/ram0 on / type ext2 (rw)
/proc on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
/dev/shm on /var type tmpfs (rw)
~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/ram0 7.7M 6.8M 466.0k 94% /
When instead using
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set
then everythings works as expected
~ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/ram0 7.7M 6.8M 466.0k 94% /
/dev/shm 6.6M 0 6.6M 0% /var
--
Steven
More information about the busybox
mailing list