You cannot increase the space in the current ramdisk. you can a ramdisk
that is bigger in size and then load it.
here is how you do it
mkdir /mnt/old-ramdisk
mkdir /mnt/new-ramdisk
gunzip old-ramdisk.gz
dd if=/dev/zero of=new-ramdisk bs=<size-of-new-ramdisk> count=1
mkfs.<fs-u-need> new-ramdisk
mount -o loop old-ramdisk /mnt/old-ramdisk
mount -o loop new-ramdisk /mnt/new-ramdisk
[now you can run mc or some explorer and copy the contents of
old-ramdisk + your files into new ramdisk]
umount /mnt/old-ramdisk
umount /mnt/new-ramdisk
gzip -9 new-ramdisk
now you have a brand new ramdisk :)
hope this helps
-regards
-kishan
Supriyo Chatterjea wrote:
> Hi,
>
> I'm currently using the ramdisk from
> ftp://ftp.netwinder.org/users/n/nico/ramdisk_img.gz to
> load demo programs to the Assabet board.
>
> However, I notice that it gets filled up as soon as I
> place a few demo files in it.
>
> Is there any way of increasing the size of the
> ramdisk?
>
> Or do I need to use something else instead of the
> ramdisk?
>
> Thanks,
> Supriyo
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com.sg/
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.
>
>
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.