Forum Discussion
Altera_Forum
Honored Contributor
21 years agouClinux ramdisk
Hello, I am new to linux, so hopefully someone else will know how to do this, but:
I was wondering how do you increase the size of the ramdisks that uClinux initalizes. I am setting the /home/ftp directory to be maped to a ramdisk, but it seems like it can only hold around 225KB of data. I was wondering how to increase that so it can hold much more. Thanks! Randy2 Replies
- Altera_Forum
Honored Contributor
To get a RAMdisk of 4MBytes (default kernel ramdisk size):
/sbin/mke2fs -q -m0 /bin/mount -t ext2 /dev/ram0 <mount-dir> + create the necessary directory structure. Put this in /etc/rc. - Altera_Forum
Honored Contributor
Sorry, the 1st line should of course be:
/sbin/mke2fs -q -m0 /dev/ram0