Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-25-2010, 11:20 AM   #1
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 137
Blog Entries: 1

Rep: Reputation: 17
Sizes of /dev /dev/shm /lib/init/rw

Few questions about all of these. To make things easier, there's 512MB RAM and a 1.5GB swap drive in this box.

/dev has a capacity of 10M, which seems to high to me, since I've never seen more than 870K used. I know this can be adjusted somewhere, as I stumbled across a number somewhere one day that said something along the lines of udev=10M, but I can't find it anymore. Based on that option, is that 10M allocated out of RAM, Swap, or just on the HDD?

/dev/shm is shared memory space from what I've been able to find. Right now it has a capacity of 248M, and 0 is used. As with /dev, where is this space allocated? Is there a point in making it larger/smaller?

/lib/init/rw has the same size as /dev/shm, but from what I understand is a RAM disk used during boot.

I've also read that tmpfs RAM disks are rather efficient when empty, but I would still like to decrease the size in case some program goes wrong and fills up /dev/shm. I just don't see a need for so much unused space?

What are all the advantages/disadvantages & procedures for this?


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 02:07 PM
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
/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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 AM.

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