Moxa DA-685-LX [16/76] Attention

Moxa DA-685-LX [16/76] Attention
DA-685 Linux Software Configuration
2-11
Note that usbmount is a light-weight solution on text mode and does not fully support gnome desktop
environment. For better supportability, you can install gnome-volume-manager instead of usbmount:
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 Compact Flash card
Moxa’s DA-685 computers support the CF card for extensive storage. Because the CF slot does not support
hot-plug function, please shutdown the device and insert the CF card into the slot.
After rebooting, the CF card will auto mount at /media/cfn(here n is the number of partition).
This is because a udev rule to support this feature in /etc/udev/rules.d/96-moxa.rules:
ATTENTION
If you do not want to mount CF card automatically, just comment the rule in
/etc/udev/rules.d/96
-moxa.rules.
Checking the Linux Version
The program uname, which stands for “Unix Name” and 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:
APTInstalling and Removing Packages
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, which is located in the read-only partition.
MOXA:~# uname -a
Linux Moxa 2.6.32 #1 SMP Thu Nov 18 13:13:04 CST 2010 i686 GNU/Linux
MOXA:~#
# CF automount for DA-685
KERNEL=="sd*[1-9]" KERNELS=="1:0:1:0", RUN+="/bin/mount /dev/%k /media/cf%n"
MOXA:~# mount -o,remount rw /
MOXA:~# apt-get remove usbmount
# apt
-get install gnome-volume-manager
MOXA:~# umount /

Содержание

Скачать