Article 6CTQZ How to create a 3GB virtual harddisk device at /dev ?

How to create a 3GB virtual harddisk device at /dev ?

by
Xeratul
from LinuxQuestions.org on (#6CTQZ)
Hello,

How to create a 3GB virtual harddisk device at /dev on the memory ram?

Code: mkdir /ramdisk ; mount -t tmpfs -osize=950M none /ramdisk ; mounthere it would be /dev/xxxxwhatevername so that it allows operations like: cat /dev/sda > /dev/xxxxwhatevername and xxxxwhatevername would be into the ram.

Kind regards
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments