problem with ramdisk
Hi, I'm a new Linux user. now I'm having problem with copying data to the ramdisk that i have created as follow.
dd if=/dev/zero of=/dev/ram0 bs=1k count=4096 mke2fs /dev/ram0 mount -t ext2 /dev/ram0 /mnt/ramdisk cp -a . /mnt/ramdisk umount /mnt/ramdisk when i do the copying 'cp -a . /mnt/ramdisk' there is a message 'No space left on device.' After i tried to increase the ramdisk_size to 40 MB in GRUB, when i do the above command, it seems ok. But later i found out that i have make some mistakes and wanted to re-copy the data to the ramdisk by performing the above command, the message 'No space left on device' come again. Is there anyway to clear the data inside my ramdisk or ram0? so that i will have enough space for me to work on? |
Quote:
|
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php |
All times are GMT -5. The time now is 06:46 PM. |