Hi,
I tried you method but I could not copy files completely form one ramdisk to
the other. All the files in the dev directory cannot be copied over.
Normally how big is the conventional size of a ramdisk? If let say I want to
create a ramdisk of 32M to load all my application. Will it have any other
problem other than time consuming?
I am trying to configure NFS server also. Now the problem is I don't know
how to configure the client side. Especially I don't know how to find out
the Ethernet(PCMCIA) card number.
I am using a Socket CF+ card.
Thanks for your time in advance.
Regards,
Xiaoyong
-----Original Message-----
From: Vijay Kishan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 8:23 PM
To: Supriyo Chatterjea
Cc: [EMAIL PROTECTED]
Subject: Re: How to increase size of ramdisk?
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.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.