LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2004, 04:24 AM   #1
blackcrow
LQ Newbie
 
Registered: Aug 2004
Location: victoria b.c.
Distribution: debian & suse
Posts: 3

Rep: Reputation: 0
the purpose of /dev/shm


Greetings all.

I'm running suse 9.1 (x86_64) - I'm a debian guy really - anyways, I've noticed that a tmpfs is mounted @ /dev/shm .
My question is: why is a tmpfs necessary for an average desktop user?
All there seems to be stored there are links to other partitions that suse arbitrarily mounts at boot time (not part of my partition scheme for suse9.1-x86_64).
It uses 500 megs of ram to do this, and seems a rather poor use for half my ram!
Any comments would be appreciated.

Crow.
 
Old 08-06-2004, 09:31 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
The /dev/shm mount point for tmpfs is included to allow enabling POSIX shared memory. Your kernel must have the required support built into it for this to work -- more about this in the next section. Please note that currently very little software actually uses POSIX shared memory. Therefore you can consider the /dev/shm mount point optional. For more information, see Documentation/filesystems/tmpfs.txt in the kernel source tree.
this is from the LFS 5.0 book..........IF you don't need/use POSIX,
then edit your /etc/fstab so it does not load........

Last edited by 320mb; 08-06-2004 at 09:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is /dev/pts, /dev/shm? mrpc_cambodia Red Hat 1 10-18-2004 03:27 AM
what is /dev/shm? chem1 Linux - Hardware 13 05-31-2004 02:52 PM
What's the /dev/shm? antz1981cn Linux - Hardware 2 12-30-2002 01:55 PM
/dev/shm sakeeb Linux - Software 9 06-05-2002 06:03 AM
What is /Dev/shm? neil Linux - General 2 04-08-2002 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration