User`s manual
UC-8410/8416/8418-LX User’s Manual Managing Embedded Linux
3-3
Since different Flash disks have different sizes, it’s a good idea to check the size of your Flash disk
before upgrading the firmware, or before using the disk to store your application and data files.
Use the #df –h command to list the size of each memory block, and how much free space is
available in each block.
192.168.3.127 – PuTTY
root@Moxa:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 13.4M 9.8M 3.5M 74% /
/dev/root 13.4M 9.8M 3.5M 74% /
/dev/ram15 1.7M 19.0k 1.6M 1% /dev
/dev/ram0 499.0k 18.0k 456.0k 4% /var
/dev/mtdblock4 32.0M 1.9M 30.1M 6% /tmp
/dev/mtdblock4 32.0M 1.9M 30.1M 6% /home
/dev/mtdblock4 32.0M 1.9M 30.1M 6% /etc
tmpfs 252.5M 0 252.5M 0% /dev/shm
/dev/sdb1 483.4M 57.9M 425.5M 12% /var/sdb
root@Moxa:/# /dev/s
root@Moxa:/# upramdisk
root@Moxa:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock2 14.0M 11.2M 2.8M 80% /
/dev/ram15 1.7M 18.0k 1.6M 1% /dev
/dev/ram0 499.0k 34.0k 440.0k 7% /var
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /tmp
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /home
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /etc
/dev/ram1 38.7M 13.0k 36.7M 0% /mnt/ramdisk
root@Moxa:/# cd /mnt/ramdisk/
root@Moxa:/mnt/ramdisk#
The following instructions give the steps required to save the firmware file to the
UC-8410/8416/8418’s RAM disk, and then upgrade the firmware.
1. Type the following commands to enable the RAM disk:
#upramdisk
#cd /mnt/ramdisk
2. Type the following commands to use the UC-8410/8416/8418’s built-in FTP client to transfer
the firmware file (FWR_uc8400_Va.b.c_Build_YYMMDDHH.hfm ) from the PC to the
UC-8410/8416/8418:
/mnt/ramdisk> ftp <destination PC’s IP>
Login Name: xxxx
Login Password: xxxx
ftp> bin
ftp> get FWR_uc8400_Va.b.c_Build_YYMMDDHH.hfm