How can I programmatically determine which (if any) mounted volumes are a DVD?
I currently look for a directory with permissions 555 but I would prefer something a bit less hacky. Thanks!!
$ ls -l /Volumes/
total 12
dr-xr-xr-x 4 mh gfx 136 Aug 3 2001 DQRMX2102
lrwxr-xr-x 1 root admin 1 Apr 6 15:09 Macintosh HD -> /
drwxrwxr-x 9 mh gfx 374 Feb 3 12:55 data