Moxa DA-682A-C7-DPP-LX [16/108] Disconnecting a usb storage device

Moxa DA-682A-C7-DPP-LX [16/108] Disconnecting a usb storage device
DA-682A-DPP Linux Software Software Configuration
2-10
Disconnecting a USB Storage Device
Remember to type the command moxa@Moxa:~# sync before you disconnect a USB block storage device to
prevent data loss.
ATTENTION
Remember to exit the directory
you are working in before disconnecting the USB storage device. If you
do not
first exit the directory,
the automated unmount process will fail, possibly corrupting system processes. If
you
do fail to exit the directory and still disconnect the USB storage device, you
can
attempt to unmount the device
manua
lly by running the following command on the console:
root@moxa@Moxa:~# umount -f /media/usb0
Mounting a CF Card
The DA-682A-DPP-LX has an internal CF socket over an IDE interface; it is not hot swappable, so users must
power off the system before inserting or removing the CF card. The CF card will be identified as the
/dev/sdb
block device. You must add a line into /etc/fstab to mount the CF card automatically while booting.
moxa@Moxa:~# sudo vi /etc/fstab
# /etc/fstab: static file system information.
##
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sdb1 /media/cf1 ext4 noatime,errors=remount-ro 0 0
ATTENTION
The CF socket
is not hot swappable; please do not insert the CF card while the system is still powered on
: doing
so m
ight damage your system.
Checking Versions for your Kernel and OS
The program uname 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:
root@moxa@Moxa:~# uname -a
Linux Moxa 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux
If you would like to check Moxa’s firmware revision, type:
moxa@Moxa:~# kversion –a
Using APT to Install and Remove Software
APT is the Debian tool used to install and remove packages. Before installing a package, you need to configure
the apt source file,
/etc/apt/sources.list.
1. Open the sources.list file in.the vi editor.
moxa@Moxa:~# sudo vi /etc/apt/sources.list

Содержание

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

Скачать