storaged-project / udisks

The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.
http://storaged.org/doc/udisks2-api/latest/
Other
339 stars 142 forks source link

RFE: Doesn't create image of mixed CDs properly #714

Open hadess opened 4 years ago

hadess commented 4 years ago

The OpenDevice API doesn't allow for a good way to create an image of a mixed CD disc (a disc with data and audio tracks).

Ideally, the API would stay the same, but the suffix and format of the single file disc image would be different. Or the API would be extended to allow dumping a .bin/.cue pair.

Either way, dumping CDs with audio tracks is possible through the udisks API and is broken. It needs to be disabled in the short-term.

See also https://gitlab.gnome.org/GNOME/gnome-disk-utility/issues/160

tbzatek commented 4 years ago

The OpenDevice API seems to be doing exactly what's expected and documented. Just that it doesn't suit your specific use case doesn't mean it's broken. It's a generic low-level call, essentially a wrapper around the open(2) syscall. You should complain to Linux kernel developers instead. No UDisks public API will get disabled because of that.

Your use case sounds like a candidate for new module, say written around libccdparanoia, that would attach extra D-Bus interface on drive objects when a recorded CD media is detected. That way you'd get user access through polkit authorization and turn UDisks into a CD-ripper utility. But then people would request de-CSS module, de-AACS module, etc...