[linux-l] tmpfs notwendig ?

Ivan Villanueva iv at artificialidea.com
So Mai 22 15:38:10 CEST 2005


Hallo,
neulich wollte ein Programm bei mir in Debian nicht installieren, weil
es kein Platz frei auf /etc/network/run gab.

Gegoogelt habe ich, daß die große von tmpfs nicht null sein darf. Nachdem ich
/etc/default/tmpfs geändert habe, habe ich ein tmpfs und das Programm
läßt sich installieren. Es handelt sich um ifupdown.

Ich verstehe aber null. Wozu brauche ich ein tmpfs ? Wie so ist
/etc/network/run in so ein tmpfs gemountet ? Warum zeigt "mount" das
o.g. mountpoint nicht ?

> mount
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev type tmpfs (rw,size=10M,mode=0755)

> df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3             41855660  36509164   3220296  92% /
tmpfs                   257100         4    257096   1% /dev/shm
none                     10240       900      9340   9% /dev

Habe ich jetzt 257100 Ks weniger RAM ?

Iván.



Mehr Informationen über die Mailingliste linux-l