nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Limiting RAMFS usage

This is a discussion on Limiting RAMFS usage within the Getting started tutorials forums, part of the Linux Getting Started category; I created a RAMFS of size 5 MB, and started filling data into that. When it exceeds 5 MB there ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-31-2008, 10:15 AM
Junior Member
User
 
Join Date: Jan 2008
OS: Debian
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sathiya is on a distinguished road
Default Limiting RAMFS usage

I created a RAMFS of size 5 MB, and started filling data into that.

When it exceeds 5 MB there is no alert / error.

It is going up to the size of RAM available. So it makes the system to hang.

How to identify when the RAMFS got filled ?? I want to stop writing when the RAMFS got filled.

Thanks in Advance.
Reply With Quote
  #2 (permalink)  
Old 03-28-2008, 09:11 AM
Member
User
 
Join Date: Mar 2008
OS: Debian, Slackware, LFS
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
Tux-Idiot is on a distinguished road
Unhappy

man cramfs
man ramdisk
man rootflags
man ext
if you are trying to make a ROM of 5 MB to boot off some handheld device as a bootrom or something like that?
http://embedded.centurysoftware.com/docs/nx/index.html
take a peek here. peck-a-booooooooo!
http://embedded.centurysoftware.com/...e-ramdisk.html
bullz-eye!
plus, are you using busybox? and ext2,ext3 for ramfs or romfs then dont use ext2/3 they use journalling flag option. try jffs or readonly filesystems like LZMA where you dont have +w option i.e. its simple +r else i am not sure unless i get the right info.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
CPU usage Shell script (Monitoring CPU Usage) atulmatkar Shell scripting 2 05-10-2008 10:24 PM
unix find out ram usage command charvi Solaris/OpenSolaris 4 04-10-2008 02:22 AM
How to restrict devices usage for users in Solaris? kitty@sad Solaris/OpenSolaris 3 05-21-2007 02:05 PM
application usage zafar466 Web servers 1 03-31-2007 12:01 AM
Postgres vacuumdb usage kasimani Databases servers 2 03-06-2007 07:30 AM


All times are GMT +5.5. The time now is 01:42 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38