Menu Home

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

Leave a Reply

Your email address will not be published.