Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Is tmpfs = swap ?
Results 1 to 3 of 3

Thread: Is tmpfs = swap ?

  1. #1
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Is tmpfs = swap ?

    Is it?
    Code:
    supragw:/home/compunuts# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    [snip]
    /dev/hdc1             7.8G  2.9G  4.5G  40% /data
    tmpfs                 126M     0  126M   0% /dev/shm
    supragw:/home/compunuts#

  2. #2

    Re:Is tmpfs = swap ?

    tmpfs is actually the opposite... It uses ram as filesystem space. /dev/shm is used for sharing memory between two processes. I don't really know the details:

    # 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)

    that's from my gentoo fstab.

  3. #3
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Is tmpfs = swap ?

    Ah, I see. Thanks.

Similar Threads

  1. problem with swap partition
    By corosus in forum Linux - General Topics
    Replies: 6
    Last Post: 10-24-2005, 04:24 PM
  2. Swap
    By martin in forum General Chat
    Replies: 0
    Last Post: 06-28-2005, 02:32 AM
  3. No SWAP?
    By Fatal Error in forum General Chat
    Replies: 6
    Last Post: 05-31-2004, 05:54 PM
  4. Increasing swap and tmp space
    By jegdes in forum Redhat / Fedora
    Replies: 1
    Last Post: 05-30-2002, 01:33 PM
  5. Increasing swap
    By Hitokiri_X in forum Linux - General Topics
    Replies: 10
    Last Post: 04-07-2002, 12:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •