Have you thought of making a ramdisk... it essentially makes a little disk device in your ram memory, which you can treat exactly like a disk.
Google for ramdisk linux for many guides.
UPDATE: I forgot to mention a loopback filesystem, where you can mount a file with the -o loop option and it acts like a disk device also.
In reply to Re^4: imitation block device in linux
by zentara
in thread imitation block device in linux
by butchie3980
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |