Altera_Forum
Honored Contributor
20 years agoSome problems with uclinux
Hi
I met following problems when I am building standard linux tasks. ->Creating a ram disk image of ext2 fs problem My cf card is ok and creating an ext2 fs successfully.But the next step for creating a ram disk image always does not rool my hoop. # dd if=/dev/zero of=/dev/ram0 bs=1k count=1024] <div class='quotetop'>QUOTE </div> --- Quote Start --- /dev/ram0:No space left on device 4097+0 records in 4096+0 records out [/b] --- Quote End ---
# mke2fs -s0 -vm0 /dev/ram0 1024
# tune2fs -i 0 /dev/ram0
# mount /dev/ram0 /mnt
# umount /mnt
# dd if=/dev/ram0 of=ramfs1024.img count=1024 <div class='quotetop'>QUOTE </div> --- Quote Start --- ramfs1024.img:Read-only file system[/b] --- Quote End --- # mount –n /dev/hda1 /mnt/ide0# dd if=/ramfs1024.img of=/dev/ram0 <div class='quotetop'>QUOTE </div> --- Quote Start --- /ramfs1024.img:No such file or directory[/b] --- Quote End --- It seems that the ram image is not created. -->Ftpd problem I can connect and login Ok,but I can't upload. It's read-only. How to create a rw fs? Thank you!