Moxa DA-710-XPE [23/73] Inserting a compactflash card into the computer

Moxa DA-710-XPE [23/73] Inserting a compactflash card into the computer
DA-710 Series Linux Software Configuration
2-12
Inserting a CompactFlash Card into the
Computer
The CompactFlash card is treated as a local disk drive in the DA-710-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
-710 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
/dev/hdb1 /mnt/hdb ext2 defaults,errors=remount-ro 0 2
none /tmp tmpfs defaults 0 1
/dev/mtdblock0 /home jffs2 defaults 0 2
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
"etc/fstab" 9 lines, 534 characters
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 Moxa 2.6.26-2-686 #1 SMP Sun Jul 26 21:25:33 UTC 2009 i686 GNU/Linux
MOXA:~#

Содержание

Похожие устройства

Скачать