LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-26-2007, 02:32 PM   #1
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Rep: Reputation: 15
Lightbulb mount


Hi there
I used mount command for mounting ramfs file system to /mnt/ramfs in this order:
#mount -t ramfs ramfs /mnt/ramfs
#df /mnt/ramfs
Os replied me:
ramfs 0 0 0 - /mnt/ramfs
#du /mnt/ramfs
Os replied me:
0 /mnt/ramfs
#cp /home/Csoures/ping.h /mnt/ramfs
(This is Ok. The files copied!)
#ls /mnt/ramfs
Os replied me:
ping.h
But when I want to copy the file(s) in X (by nautilus) apears this message:
"There is not enough space on the destination.

now:
is this command wrong? #mount -t ramfs ramfs /mnt/ramfs
and if it is correct how can I resize it?

thank you
 
Old 12-26-2007, 03:55 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by hadyy View Post
is this command wrong? #mount -t ramfs ramfs /mnt/ramfs
and if it is correct how can I resize it?
You should read this
ramfs documentation
and then you will realize what "ramfs" is and why you cannot resize it on-the-fly.
 
Old 12-27-2007, 04:38 AM   #3
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Question more description

Hi
Mr David!
I had read it already but I dont find out any thing about ramdisk resizing or about those commands have mentioned in last post.
...
thank you
 
Old 12-27-2007, 11:05 AM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by hadyy View Post
I had read it already but I dont find out any thing about ramdisk resizing or about those commands have mentioned in last post.
From the documentation: "A ramfs derivative called tmpfs was created to add size limits".

If you want a resizable RAM disk, you need to use tmpfs.
 
Old 12-28-2007, 01:20 AM   #5
hadyy
LQ Newbie
 
Registered: Dec 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Thumbs up OK

tanx Mr David1357.
 
  


Reply



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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration