[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] df and CONFIG_TINY_SHMEM
From:       Steven Scholz <steven.scholz () imc-berlin ! de>
Date:       2004-11-22 19:16:02
Message-ID: 41A23AF2.6030400 () imc-berlin ! de
[Download RAW message or body]

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



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic