Specifications

DA-681 Linux Software Configuration
2-12
ATTENTION
Remember to type the
command
# sync before you disconnect the USB storage device. If you do not issue the
command, you may lose data.
ATTENTION
Remember to exit the /media/usb0 or /media/usb1 directory when you disconnect the USB storage device. If
you stay in /media/usb0 or /media/usb1, the automatic un
-mount process will fail. If that happens, type #
umou
nt /media/usb0 to un-mount the USB device manually.
Inserting a CompactFlash Card into the
Computer
The CompactFlash card is treated as a local disk drive in the DA-681-LX computer. It is identified as a block
device at /dev/hdb. You can add one line to /etc/fstab to force the CompactFlash card to mount
automatically at boot time.
ATTENTION
The
DA-681 Series Embedded Computer does not support the CompactFlash hot swap function. You must
remove
the power source first before inserting or removing the CompactFlash card. If you do not shut down
the
power source
, you could damage your CompactFlash card.
Moxa:~# mount -o remount,rw /dev/hda1 /
Moxa:~# vi /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
Proc /proc proc defaults 0 0
/dev/hda1 / ext2 ro,defaults,errors=remount-ro 0 1
none /tmp tmpfs defaults 0 1
/dev/hda2 /home ext2 defaults 0 2
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Moxa:~#
Moxa:~# umount /
Moxa:~#
Checking the Linux Version
The program uname, which stands for Unix Nameand is part of the Unix operating system, prints the name,
version, and other details about the operating system running on the computer. Use the -a option to generate
a response similar to the one shown below:
MOXA:~# uname -a
Linux DA680 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686 GNU/Linux
MOXA:~#