up vote 4 down vote favorite
share [g+] share [fb]

I'm on Mac OS X, have a DVD in the DVD-drive and can look at it in the Finder. I'd like to try to create an iso of it by using the dd command. But to do that I need to know what device to use as an input. How can I find what device my DVD-drive is?

link|improve this question

68% accept rate
feedback

3 Answers

up vote 4 down vote accepted

Put a disk into the drive, wait until OS X mounts it, and then type the following command in the Terminal:

$ mount
[⋮]
/dev/disk2 on /Volumes/MyDisk (cd9660, local, nodev, nosuid, read-only, noowners)

In my case, the drive is located at /dev/disk2.

You can use drutil as well.

# drutil status
 Vendor   Product           Rev 
 MATSHITA DVD-R   UJ-857D   KBVB

           Type: DVD+RW               Name: /dev/disk2
[⋮]
link|improve this answer
feedback

Finally found a way. Not sure if it is the best, but it works anyways:

df -h

c",)

link|improve this answer
It's also a working solution, since df displaying the free disk space on mounted file systems showing their device name as well. – Török Gábor Feb 28 '10 at 14:03
Yeah, that's what I suddenly discovered. My first thinking was that I could try to match it up with the size, but then discovered that it stood right there which was which :p – Svish Feb 28 '10 at 15:10
feedback

Start Utilites, Disk Util. Click the drive or partition on the left, then the blue i/info icon in the toolbar. The disk identifier is the name to be used after /dev/

link|improve this answer
For me, the disk identifier is the volume label (MyDisk), which is the same as the mount point under /mnt, and not the device name under /dev, which is /dev/disk2. – Török Gábor Feb 28 '10 at 14:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.