DVDドライブを接続する。
実は利用している古いPC本体にはDVDは搭載されていない。半壊したCD-ROMだけ(これで運良くFedoraをインストール)外付けDVDドライブをIEEE1394で接続する。接続し電気を入れた後で、きっと新しいデバイスができている異を期待して、/dev/配下をlsで見る。確かに新しく(下記、タイムスタンプが19:34)デバイスができていることが分かった。
[root@localhost dev]# ls -l /dev/*dvd* lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvd -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 12:02 dvd-sr0 -> scd0 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvd-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdrw -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdrw-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdwriter -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdwriter-sr1 -> scd1
同時間に更新・作成されたものを、さらにlsで確認すると以下のようになっていた。(sgって何だろう)
[root@localhost proc]# ls -lt /dev/ (略) crw-rw-rw- 1 root tty 5, 2 2007-08-10 19:48 ptmx drwxr-xr-x 13 root root 4280 2007-08-10 19:34 ./ drwxr-xr-x 5 root root 120 2007-08-10 19:34 .udev/ lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdrom -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdrom-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdrw -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdrw-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdwriter -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 cdwriter-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvd -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvd-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdrw -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdrw-sr1 -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdwriter -> scd1 lrwxrwxrwx 1 root root 4 2007-08-10 19:34 dvdwriter-sr1 -> scd1 brw------- 1 a9a9 disk 11, 1 2007-08-10 19:34 scd1 crw------- 1 root root 21, 2 2007-08-10 19:34 sg2 (略)
(これも色々調べながらやっていて分かったのだが)cdrecordコマンドでデバイスがちゃんと見えるか確認してみた。
[root@localhost proc]# cdrecord -checkdrive Device was not specified. Trying to find an appropriate drive... Detected CD-R drive: /dev/cdrw Using /dev/cdrom of unknown capabilities Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identification : 'DVD-RW DVR-107D' Revision : '1.05' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
ちゃんと認識されているようだ。