[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CD/DVD devices



T o n g wrote:
> On Sun, 30 Nov 2008 21:38:45 +0200, Eugene V. Lyubimkin wrote:
> 
>>> - If not, how can I know which (device) is which for all my CD/DVDs,
>>> the automatically way, not try-and-error way?
>> /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

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ developer, Debian APT contributor

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: