Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Creating RAM disk image

Altera_Forum
Honored Contributor II
1,284 Views

I need an ext2 fs and tried to create a ramdisk image on a linux machine. I followed the commands given in the microtronix manual but get the an after typing the following commands: 

# dd if=/dev/zero of=/dev/ram0 bs=1k count=1024# mke2fs -s0 -vm0 /dev/ram0 1024 

 

Error Message: "reserved online resize blocks not supported on non-sparse filesystem"
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
595 Views

Can you just do 

mke2fs -b 1024 /dev/ram0 1024 

?
0 Kudos
Reply