我正在尝试使用abcde
(从 Macports 编译)在 OSX 10.8.5 上翻录音频 CD:
$ abcde
disk1 was already unmounted or it has a partitioning scheme so use "diskutil unmountDisk" instead
cd-discid: /dev/disk1: open: Permission denied
[ERROR] abcde: CD could not be read. Perhaps there's no CD in the drive?
是的,权限被拒绝,用 sudo 重试。但仍然不起作用:
$ sudo abcde
Password:
disk1 was already unmounted or it has a partitioning scheme so use "diskutil unmountDisk" instead
cd-discid: /dev/disk1: DKIOCCDREADDISCINFO: Inappropriate ioctl for device
[ERROR] abcde: CD could not be read. Perhaps there's no CD in the drive?
哪里出了问题?我该如何修复它?
答案1
显然abcde
不会自动检测哪个设备与您的 CD 驱动器相对应。如果您查看 的输出mount
,您会看到 是disk1
您的硬盘,disk2
是 CD 驱动器,安装在 上。您可以使用以下选项/Volumes/Audio CD
明确指定设备:-d
abcde
$ abcde -d /dev/disk2