← Back to team overview

sslug-teknik team mailing list archive

Re: tmpfs?

 

On lør, 2004-02-28 at 11:19 +0100, Jesper Krogh wrote:

> En df giver:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md1              4.6G  1.6G  2.9G  36% /
> /dev/md0               16M  6.4M  8.0M  45% /boot
> /dev/md2               65G  9.6G   52G  16% /var
> /dev/md3               42G  2.3G   37G   6% /home
> tmpfs                 251M     0  251M   0% /dev/shm
> 
> Hvad er tmpfs?
fra min gentoo /etc/fstab:

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
                                                                                                                                                             
none                    /dev/shm        tmpfs  defaults         0 0

ikke at det 100% forklare det men det siger da noget

Mvh
Mikkel Mondrup Kristensen 




References