How to put a file in RAM (Was : Re: Clear the computer's memory?)

Michael R Head burner at suppressingfire.org
Thu Mar 30 19:46:12 UTC 2006


On Thu, 2006-03-30 at 13:18 -0600, Kenneth P. Turvey wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, 30 Mar 2006 16:01:59 +0200, Loïc Martin wrote:
> 
> > : is there an easy way (dont mind the command line, but best if drag'n
> > drop is enough) to copy a (movie) file entirely in ram, then read from it
> > (the way you did on AmigaOS with the ramdrive)? Any ramdrive enable by
> 
> Use tmpfs for /tmp, then just copy the movie to /tmp before viewing it.  

Or if you don't want to do that, you can do this:

Open terminal and execute these commands:
$ mkdir $HOME/ramdrive
$ sudo mount -t tmpfs ramdrive $HOME/ramdrive


The df -h to see how much space you've got in your ram drive.

mike

> 
> - -- 
> Kenneth P. Turvey <kt-usenet at squeakydolphin.com>
> 
> XMPP  IM: kpturvey at jabber.org
> Yahoo IM: kpturvey2
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFELC8Ci2ZgbrTULjoRAl4kAKCh1eiBNh9suZW3FN5TPB8TYbnXYACdFUDE
> OW/jp8uQX38IhHTiYUsRVwQ=
> =GnAp
> -----END PGP SIGNATURE-----
> 
> 
> 
-- 
Michael R Head <burner at suppressingfire.org>
burner | suppressingfire | firestorm | phoenix | firefighter





More information about the ubuntu-users mailing list