Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there a way to selectively disable gvfsd-cdda on Debian Squeeze?

Since I updated my machine to Squeeze grip can no longer eject a CD, which interferes with ripping. I traced it back to gvfsd-cdda, but found no preference or configuration to disable it. I can't uninstall package gvfs-backends either, because it is required by gnome-core.

I did find /usr/share/mounts/cdda.mount, but disabling that feels like an ugly hack that will be overwritten on the next update of the package.

share|improve this question

1 Answer

I have no idea if there's a way to fix or cleanly disable gvfsd-cdda, but you can move it out of the way without running into trouble with the package manager.

Debian (and more generally any distribution using dpkg) has a generic mechanism for providing your own version of a file that's normally under the package manager's control. If you find you must change /usr/lib/gvfs/gvfsd-cdda or /usr/share/mounts/cdda.mount, use dpkg-divert so that the package's version will be diverted to a different file name:

dpkg-divert --add --local --rename --divert /usr/lib/gvfs/gvfsd-cdda.debian /usr/lib/gvfs/gvfsd-cdda
ln -s /bin/true /usr/lib/gvfs/gvfsd-cdda

or perhaps

dpkg-divert --add --local --rename --divert /usr/share/gvfs/mounts/cdda.mount.debian /usr/share/gvfs/mounts/cdda.mount
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["f=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &copy; 2013 stack exchange inc; \r\n                user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc-wiki</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"footer-flair\">\r\n                <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" class=\"cc-wiki-link\"></a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2013.5.17.690\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Linux is a registered tra", "\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &copy; 2013 stack exchange inc; \r\n                user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc-wiki</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"footer-flair\">\r\n                <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" class=\"cc-wiki-link\"></a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2013.5.17.690\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group. <br>This site is not affiliated with Linus Torvalds or The Open Group in any way.\r\n                </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Unix &amp; Linux Sta"], "copyright__copyright__copyright": ["ame:\n\ndpkg-divert --add --local --rename --divert /usr/lib/gvfs/gvfsd-cdda.debian /usr/lib/gvfs/gvfsd-cdda\nln -s /bin/true /usr/lib/gvfs/gvfsd-cdda\n\nor perhaps\n\ndpkg-divert --add --local --rename --divert /usr/share/gvfs/mounts/cdda.mount.debian /usr/share/gvfs/mounts/cdda.mount\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}