Linux创建ramdisk

dd if=/dev/zero of=/dev/rd/1 bs=1k count=9216
mke2fs -vm0 /dev/rd/1 9216 
mount /dev/rd/1 /tmp/
umount -v /tmp