Moxa DA-681-I-DPP-T-LX [22/65] Inserting a usb storage device into the computer

Moxa DA-681-I-DPP-T-LX [22/65] Inserting a usb storage device into the computer
DA-681 Linux Software Configuration
2-11
title Debian GNU/Linux, kernel 2.6.18-5-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-5-686 root*/dev/sdb1 ro single
initrd /boot/initrd.img-2.6.18-5-686
savedefault
3. Edit the /etc/fstab file and change the selected hard disk for system bootup.
# /etc/fstab: static file system information.
#
# <file system> <mount> point> <type> <options> <dump> <pass>
Proc /proc proc defaults 0 0
/dev/sdb1 / ext2 ro,defaults,errors=remount-ro 0 1
# Mount the CF, /dev/hdb1, on /mnt. You should edit this line
#/dev/hdb1 /mnt ext3 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,nauto 0 0
4. Shut down the computer.
5. Remove the top cover of the DA-681, and then add the hard drive into the computer.
6. Reboot the computer to finish.
7. If you would like to uninstall the SATA hard drive, simply reverse the above procedures.
Inserting a USB Storage Device into the
Computer
Since mounting USB storage devices manually can be difficult, a program named usbmount to mount the USB
drivers automatically. usbmount is a small application that relies on udev to mount USB storage devices
automatically at certain mount points. The USB storage devices will be mounted on /media/usb0,
/media/usb1, etc.
MOXA:~# mount
/dev/hda1 on / type ext2 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdb2 on /home type ext2 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda1 on /media/usb0 type vfat
(rw,noexec,nodev,sync,noatime,gid=25,dmask=0007,fmask=0117)
/dev/sdb1 on /media/usb1 type vfat
(rw,noexec,nodev,sync,noatime,gid=25,dmask=0007,fmask=0117)
MOXA:~#

Содержание

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

Скачать