-
How to get rid of the ramdisk /dev/shm?
Hello,
I am using Knoppix 3.2, running from CD-ROM, on a laptop with 32 MB RAM.
According to the command df, the ramdisk /dev/shm, mounted on /ramdisk, is
using 20 MB, leaving only 12 MB for the real work (not entirely true; I also
have a swap partition). This makes the whole setup terribly slow.
I notice that this ramdisk is only used marginally for hosting /home and
/var (through symlinks). What I tried to do to make things faster, is to use
a small ext2 partition on hard disk. I have copied the contents of
/ramdisk/home and /ramdisk/var to the hard disk and changed the symlinks
accordingly. Then I unmounted the ramdisk (using the -f option).
But this action did not released any additional RAM (checked with the
command free). What can I do to make full use of the available RAM?
Thanks for any help
Luc Soethout
-
Senior Member
registered user
Re: How to get rid of the ramdisk /dev/shm?
--The ramdisk itself is dynamic. It doesn't actually take up all that space unless something is actually written to it.
--Did you check the cheat codes?

Originally Posted by
glukorizon
Hello,
I am using Knoppix 3.2, running from CD-ROM, on a laptop with 32 MB RAM.
According to the command df, the ramdisk /dev/shm, mounted on /ramdisk, is
using 20 MB, leaving only 12 MB for the real work (not entirely true; I also
have a swap partition). This makes the whole setup terribly slow.
I notice that this ramdisk is only used marginally for hosting /home and
/var (through symlinks). What I tried to do to make things faster, is to use
a small ext2 partition on hard disk. I have copied the contents of
/ramdisk/home and /ramdisk/var to the hard disk and changed the symlinks
accordingly. Then I unmounted the ramdisk (using the -f option).
But this action did not released any additional RAM (checked with the
command free). What can I do to make full use of the available RAM?
Thanks for any help
Luc Soethout
-
Re: How to get rid of the ramdisk /dev/shm?
Thanks Dave,
You are probably right. I copied a large file to /ramdisk, and indeed, the used space on the swap partition increased by that amount. And vice versa.
Apparently, normal system operation already uses all the available 'real' RAM memory (approximately 29 MB of the available 30 MB).
What do you mean by your comment regarding the cheats? I don't see any code to bypass the ramdisk.
Regards
Luc Soethout
Similar Threads
-
By sampo in forum Hardware & Booting
Replies: 1
Last Post: 05-06-2005, 12:23 AM
-
By joshuabok in forum General Support
Replies: 4
Last Post: 10-01-2004, 05:55 PM
-
By Knoppixerin in forum General Support
Replies: 0
Last Post: 02-11-2004, 01:57 PM
-
By henrique in forum Customising & Remastering
Replies: 5
Last Post: 09-14-2003, 05:26 AM
-
By Nedly in forum Hardware & Booting
Replies: 5
Last Post: 04-05-2003, 02:12 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42

Knoppix NSM 1.2
$8.00

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2
$7.84

Hamshack Live DVD-ROM
$7.00

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$33.59