|
|
Connecting Mass StorageThe LinuxBox has two USB ports at its front. These ports also enable you to attach external mass storages, for example, USB Sticks or non-removable disks. A free USB port is available internally. A CompactFlash can be attached to this port. A CompactFlash disc is also available among the accessories. The following instruction allows you to observe how the data carrier is recognized by the LinuxBox: tail -f /var/log/messages
May 7 06:26:40 ipcas-00098e123467 kernel: hub.c: new USB device ETRAX 100LX-2.1, assigned address 3
May 7 06:26:40 ipcas-00098e123467 kernel: scsi0 : SCSI emulation for USB Mass Storage devices May 7 06:26:40 ipcas-00098e123467 kernel: usb-host.c: Got epid attn for bulk endpoint, epid 1 May 7 06:26:40 ipcas-00098e123467 kernel: usb-host.c: Stall for epid 1 May 7 06:26:40 ipcas-00098e123467 kernel: usb-host.c: Completing bulk urb with status -32. May 7 06:26:40 ipcas-00098e123467 kernel: Vendor: Maxtor 9 Model: 1360D8 Rev: 0000 May 7 06:26:40 ipcas-00098e123467 kernel: Type: Direct-Access ANSI SCSI revision: 02 May 7 06:26:40 ipcas-00098e123467 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 May 7 06:26:40 ipcas-00098e123467 kernel: SCSI device sda: 26563824 512-byte hdwr sectors (13601 MB) May 7 06:26:40 ipcas-00098e123467 kernel: Partition check: May 7 06:26:41 ipcas-00098e123467 kernel: sda: sda1 In this example a 13 GB hard disk drive (HDD) was attached. The non-removable disk is integrated by entering: mount -f vfat /dev/sda /mnt/0 df indicates the amount of free memory on the board.
[root@ipcas-00098e123467 /]208# df -h /mnt/0
Filesystem Size Used Available Use% Mounted on /dev/sda1 12.6G 16.3M 12.6G 0% /mnt/0 |



