CD

Монтирование
CD-ROM mount -t cd9660 /dev/cd0 /cdrom/ DVD-ROM mount -t udf /dev/cd0 /cdrom/

Запись На USB-привод
cdrecord -scanbus cdrecord -v dev=2,0,0 -dao ~/cdimage2.raw cdrecord -v dev=1,0,0 -dao /home/leksey/xxx/systemrescuecd-x86-3.0.0.iso

На SATA-привод
Вставляю пустой диск и он постоянно шуршит им, как будто пытается прочитать. В dmesg  acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x02 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 (cd0:ata8:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (cd0:ata8:0:0:0): CAM status: SCSI Status Error (cd0:ata8:0:0:0): SCSI status: Check Condition (cd0:ata8:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) (cd0:ata8:0:0:0): cddone: got error 0x6 back  burncd -v data systemrescuecd-x86-3.0.0.iso fixate Ошибка burncd: write_file: Input/output error

kldload atapicam.ko cdrecord -scanbus 7,0,0  700) 'Optiarc ' 'DVD RW AD-7201S ' '1.05' Removable CD-ROM --- cdrecord -v dev=7,0,0 -dao systemrescuecd-x86-3.0.0.iso cdrecord: OPC failed.

ATAPI
- acd0 это ж ATA узел оптического устройства. - посмотреть режим в BIOS - Storage Configuration -> Configure SATA as IDE -> ACHI - А зачем вы его грузили (atapicam.ko)? ahci полностью заменяет ata и atapicam. - Самый простой вариант загрузить ahci - загрузка модулем из интерфейса загрузчика. При этом ata удалять из ядра не надо - ahci подхватит сам нужное оборудование. - ATA_CAM makes all of your ATA devices available through cam(4) - ahci(4) provides proper SATA support (along with NCQ, so ostensibly speeding things up a bit) & puts your SATA devices under cam(3), but it has no effect on any other (non-serial) ATA devices (CD/DVD players, etc). - ata is the existing ATA driver architecture for IDE/ATAPI/SATA devices (disks, floppies, tape drives, CD/DVD drives, etc). ahci is a new driver architecture for AHCI-compliant SATA controllers. This is (hopefully) the future for SATA controller support in FreeBSD. This uses the existing CAM system in FreeBSD, finally merging ATA/SCSI support under one roof. ATA_CAM is a compatibility shim that bridges the above two worlds. ATA_CAM makes the old ata-based driver available via the CAM system. However, it's still the old ata driver, so no new features are added (no NCQ support, for example). This is a temporary solution to aid in the migration from the old ata framework to the new CAM-based ahci framework. IOW, if your hardware is supported by the ahci driver, then you want to use that. If you have hardware that is not supported by ahci (like an IDE CD/DVD drive), but you want to use the same set of tools (camcontrol) and the same naming convention (adaX) for working with them, then add ATA_CAM support.