SDB:Firewire (ieee1394) Drives under Linux

Şuraya atla: kullan, ara


Version: 7.3 -

Durum

Firewire sürücülerinizi Linux altında çalıştırmak istersiniz.

Procedure

  • PCI or on-board

An overview of the supported devices and cards is available at:

http://www.linux1394.org/hcl.php?class_id=2

Controllers in compliance with the OHCI standard should work. You might need to perform a kernel update for your card to be supported.

First, load the required module for Firewire:

modprobe ohci1394

The module ieee1394 should be automatically loaded.

If necessary, also load

modprobe sbp2

if it is not automatically loaded.

Then you can address the storage devices (e.g., CD, CD-R, DVD, hard disk) as SCSI devices. The command cat /proc/scsi/scsi provides an overview of the detected SCSI devices. cat /proc/bus/ieee1394/devices directly displays a list of the detected Firewire devices.

Use hwinfo to find out what device is used:

hwinfo --cdrom for optical drives
hwinfo --disk for hard disks

The corresponding device can be found at the entry Device File, for example, (CD):

Device File: /dev/sr0

Firewire devices can be mounted as ordinary devices:

mount /dev/sr0 /mnt

The same applies to hard disks, which can be mounted, for example, with

mount /dev/sda1 /mnt

(in this example, the first partition on the first SCSI disk).

ATTENTION: The drives must be unmounted with umount before the Firewire cable is pulled out. Otherwise, data might be lost in the case of hard disks:

umount /mnt

  • PCMCIA or cardbus (laptop)

If your PCMCIA or cardbus card is supported, the necessary modules will be automatically loaded. An overview of the supported cards is available at:

http://pcmcia-cs.sourceforge.net/ftp/SUPPORTED.CARDS

The mounting process is the same as in PCI and on-board

  • PPC (e.g., Apple)

To be able to use storage devices, the module sbp2 must be loaded:

modprobe sbp2

Its mounting process works in the same way as in PCI and on-board. <keyword>ieee1394,firewire</keyword>