tmpfs

Michal Moskal malekith w pld.org.pl
Śro, 13 Cze 2001, 10:28:50 CEST


Właśnie kroje konfig kernela 2.4. "Znalazłem" tam tmpfs.

> Virtual memory file system support
> CONFIG_TMPFS
>   Tmpfs is a file system which keeps all files in virtual memory.
> 
>   In contrast to RAM disks, which get allocated a fixed amount of
>   physical RAM, tmpfs grows and shrinks to accommodate the files it
>   contains and is able to swap unneeded pages out to swap space.
> 
>   Everything is "virtual" in the sense that no files will be created
>   on your hard drive; if you reboot, everything in tmpfs will be
>   lost.

Jak możemy tego użyć? Ano tak: włączamy to i initrd. Initrd ma jakieś
20k (na oko) i po prostu rozpakowuje z dyskietki tar.gz (tar.bz2?)
z filesystemem na /dev/shm. Potem robi się linki w roocie /tmpfs/bin ->
/bin etc. To by rozwiązało problemy z miejscem na initrd.

Inne sprawy : potrzebujemy /dev/pts w kernelu? co z devfs ?

-- 
: Michal ``,/\/\,       '' Moskal    | |            : GCS {C,UL}++++$
:          |    |alekith      @    |)|(| . org . pl : {E--, W, w-,M}-
:                                  |                : {b,e>+}++ !tv h
: Current project:  http://aleph-0.dhs.org/ywindow/ : PLD Team member



Więcej informacji o liście dyskusyjnej pld-installer