Linux / UNIX Tech Support Forum
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. |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
| Sponsored Links | ||
|
|
|
|||
|
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. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |