How can I find what /dev my DVD-drive is?
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?
Solution 1:
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
[⋮]
Solution 2:
Finally found a way. Not sure if it is the best, but it works anyways:
df -h
c",)
Solution 3:
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/