nixCraft Linux Forum

nixCraft

Linux 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 ...


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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-31-2008, 10:15 AM
Junior Member
User
 
Join Date: Jan 2008
My distro: Debian
Posts: 18
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
Sponsored Links
  #2 (permalink)  
Old 03-28-2008, 09:11 AM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
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

Bookmarks


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 On

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 05:51 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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