Unix Technical Forum

moving ramdisk to JFFS2

This is a discussion on moving ramdisk to JFFS2 within the Linux Operating System forums, part of the Unix Operating Systems category; --> I am running Linux 2.4.x on my embedded ARM board. Right now my ramdisk is over 5M and I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:34 PM
dchou4u@hotmail.com
 
Posts: n/a
Default moving ramdisk to JFFS2

I am running Linux 2.4.x on my embedded ARM board. Right now my ramdisk
is over 5M and I like to reduce the size of the ramdisk by removing
some junk, and moving the rest of the stuff into my JFFS2 partition.

How do I remove some of the stuff in the ramdisk via the config? Which
config file do I modify?

How do I move the stuff I want to keep into the JFFS2 paritition? Do I
just copy the stuff I want from ramdisk into the partition?

Can I build the image and run without any ramdisk?

What command can I issue to find out what size each binary is taking up
in the ramdisk?

Thanks

My ramdisk is mounted on '/' and the contents of the ramdisk is:

# ls
bin etc lib mnt sbin usr
dev home lost+found proc tmp var

# mount

/dev/ram0 on / type ext2 (rw)

/proc on /proc type proc (rw)

#df

Filesystem 1k-blocks Used Available Use% Mounted on

/dev/ram0 8059 5167 2483 68% /

#

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com