Re: CD/DVD devices
On Sun, 30 Nov 2008 19:22:56 -0600, Ron Johnson wrote:
>>>> /dev/disk/by-id ?
>>> Nope, it only contains my HD links, no CD/DVD. Yours are different?
>>>
>> Yes.
>>
>> $ ls /dev/disk/by-id | grep DVD
>> ata-HL-DT-ST_DVD+-RW_GSA-T11N_KV472E33633 $ readlink
>> /dev/disk/by-id/ata-HL-DT-ST_DVD+-RW_GSA-T11N_KV472E33633 ../../hda
>
> Only if you have a disk mounted (or otherwise recognized).
Very strange, mine is that even if I have a mounted disk, there is no
link in /dev/disk/by-id:
$ mount | grep dvd
/dev/scd2 on /media/dvd type udf (ro,nosuid,nodev,utf8)
$ ls /dev/disk/by-id/ | grep -v Maxtor | wc -l
0
$ ls /dev/disk/by-id/ | wc -l
32
Very strange. Anyone can explain?
Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: