LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-21-2007, 02:48 AM   #1
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Rep: Reputation: 15
Lightbulb ramdisk size


Hi there friends
1. I want to increase or decrease the size of ramdisk(/dev/ramdisk[#mount -t ramfs /dev/ramdisk /mnt/ramfs])
2. what is the "ramfuse"?
tanx
 
Old 12-21-2007, 06:03 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
That is ram filesystem. Not ramfuse.

Consider tmpfs instead. You include the size option when it is mounted.
 
Old 12-21-2007, 12:51 PM   #3
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Exclamation Example for ramdisk

Hi
I dont understand any thing!
What is your meaning?
What is ramfuse?
Please say me an example of ramdisk resizing.
thank you.
 
Old 12-21-2007, 05:53 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You asked what is ramfuse. There is no such thing as far as I know. With tmpfs, you can remount it with a different size.

Code:
jschiwal@hpamd64:~> sudo mount -t tmpfs -o size=50M,nr_inodes=2k,uid=jschiwal,mode=700 tmpfs test/
jschiwal@hpamd64:~> cp testfile.p* test/
jschiwal@hpamd64:~> ls test
testfile.pdf  testfile.ps
jschiwal@hpamd64:~> sudo mount -t tmpfs -o size=60M,nr_inodes=2k,uid=jschiwal,mode=700,remount tmpfs test/
jschiwal@hpamd64:~> ls test
testfile.pdf  testfile.ps
jschiwal@hpamd64:~> df test
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                    61440      1576     59864   3% /home/jschiwal/test
Ramfs is used during booting. They are both documented in the kernel source Documentation directory.

Last edited by jschiwal; 12-21-2007 at 05:58 PM.
 
Old 12-21-2007, 06:16 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Apparently, this is ramfuse:
Quote:
Fuse::InMemory is a perl module using Fuse to implement a dynamically growing RAM file system. It is accompanied by ramfuse.pl, a script that can mount the file system. Ramfuse supports most features expected from a file system running on Linux, and it also works on Mac OS X if you get MacFuse to work with perl (not that hard). Fuse::InMemory is not fully tested, but it might be useful as a base for other file systems too.
 
Old 12-21-2007, 11:47 PM   #6
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Thumbs up excellent

excellent
Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Isolinux ramdisk size rbautch Linux - Newbie 2 07-03-2006 11:03 AM
Ramdisk size, howto increase limit (Kernel parameters) imagineers7 Linux - General 0 06-10-2006 01:34 AM
the size limit of LILO to load a ramdisk golien Linux - General 0 03-31-2005 12:32 AM
ramdisk size jonfa Linux - General 1 05-22-2004 01:22 PM
Set ramdisk size? TheOther1 Linux - General 6 02-22-2003 03:08 PM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration