Visualizzazione dei risultati da 1 a 3 su 3

Discussione: FS tmpfs

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    7,691

    FS tmpfs

    Ciao,

    mi ritrovo con

    root@LinuxBoxCompaq:/home/giorgio# df -h
    Filesystem Dimens. Usati Disp. Uso% Montato su
    /dev/hda5 5,1G 4,7G 412M 93% /
    /dev/hda8 2,9G 2,3G 543M 82% /home
    /dev/hda1 5,0G 4,9G 83M 99% /mnt/win_c
    /dev/hda7 5,5G 15M 5,5G 1% /mnt/win_d
    tmpfs 380M 0 380M 0% /dev/shm

    Che è sto tmpfs ? Posso utilizzare in qualche modo il relativo spazio, visto che ne ho poco ?

    Questo è l'fstab

    root@LinuxBoxCompaq:/home# cat /etc/fstab
    /dev/hda5 / reiserfs notail,noatime 1 1
    none /dev/pts devpts mode=0620 0 0
    /dev/hda8 /home ext3 noatime 1 2
    # none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0

    /dev/hdc /mnt/cdrom user,ro,iso9660,--,iocharset=iso8859-15 0 0

    /dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,umask=0,codepage=850 0 0
    # /dev/sda1 /mnt/win_c2 vfat iocharset=iso8859-15,umask=0,codepage=850 0 0
    /dev/sda1 /mnt/sda1 vfat users,rw,iocharset=iso8859-15,umask=0,codepage=850 0 0
    /dev/hda7 /mnt/win_d vfat users,rw,iocharset=iso8859-15,umask=0,codepage=850 0 0
    none /proc proc defaults 0 0
    /dev/dvd /dvd auto
    /dev/hda6 swap swap defaults 0 0
    root@LinuxBoxCompaq:/home#

    Grazie a tutti e buona domenica

  2. #2

    Re: FS tmpfs

    Originariamente inviato da mykol
    root@LinuxBoxCompaq:/home/giorgio# df -h
    Filesystem Dimens. Usati Disp. Uso% Montato su
    /dev/hda5 5,1G 4,7G 412M 93% /
    /dev/hda8 2,9G 2,3G 543M 82% /home
    /dev/hda1 5,0G 4,9G 83M 99% /mnt/win_c
    /dev/hda7 5,5G 15M 5,5G 1% /mnt/win_d
    tmpfs 380M 0 380M 0% /dev/shm

    Che è sto tmpfs ? Posso utilizzare in qualche modo il relativo spazio, visto che ne ho poco ?
    codice:
    Tmpfs is a file system which keeps all files in virtual 
    memory.
    
    Everything in tmpfs is temporary in the sense that no 
    files will be created on your hard drive. If you unmount a 
    tmpfs instance, everything stored therein is lost.
    
    tmpfs puts everything into the kernel internal caches and 
    grows and shrinks to accommodate the files it contains and 
    is able to swap unneeded pages out to swap space. It has 
    maximum size limits which can be adjusted on the fly via 
    'mount -o remount ...'
    
    If you compare it to ramfs (which was the template to create
    tmpfs) you gain swapping and limit checking. Another similar
    thing is the RAM disk (/dev/ram*), which simulates a fixed 
    size hard disk in physical RAM, where you have to create an 
    ordinary filesystem on top. Ramdisks cannot swap and you do 
    not have the possibility to resize them.
    Maggior informazioni in linux-2.6.x/Documentation/filesystems/tmpfs.txt
    "Qualsiasi esperto ha paura di combattere usando la katana vera. Anch'io. Ma non ignoro la mia paura, riesco ad accettarla, e a metterla da parte accanto a me".

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    7,691
    grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.