Make a superfast ram disk in Ubuntu

Make a superfast RAM disk

Ever wanted a super fast disk? The steps below show you how. Fast ram disks have a disadvantage that they do not preserve data on restart. When the computer shuts down all data on the disk is gone. However sometimes it can be handy to use such a disk. I use ram disks for video encoding. I copy my raw video file to the ram disk, edit it and when encoding it is much faster than a normal disk. So how do we do this.