Dan Sturtevant
2005-Jan-21 16:30 UTC
[Samba] Fwd: Export cd's without mounting them. samba vfs module using gnu's libcdio
Hi, Sorry about posting to both lists, but I didn't get any feedback from samba-technical. I'm developing a vfs module that allows CDs to behave in a more "Windows" like fashion. If anyone out there cares about the ability to export cds without mounting them, please try this out and let me know what you think, if it works for you, whats wrong with my code, etc. Thanks, Dan Sturtevant ---------- Forwarded message ---------- From: Dan Sturtevant <sturtx@gmail.com> Date: Wed, 19 Jan 2005 13:57:34 -0500 Subject: Export cd's without mounting them. samba vfs module using gnu's libcdio To: samba-technical@lists.samba.org, libcdio-devel@gnu.org Hi, We have begun implementing a samba vfs module that uses libcdio to export cd's over samba. This removes the need to mount the cd's before they are exported. It also gives us the potential to directly export music tracks (although this isn't implemented yet.) The code works, but needs a fair amount of fixup and optimization. A first pass at this code and instructions can be downloaded at: www.ontologistics.net/OpenSource/Samba/index.php Major things left to do are: 1 Detect when the drive has been opened and respond appropriately by cleaning up memory and informing windows of a media change. 2 Fix how we keep track of dirent structures and file descriptors. Currently it's a hack, but it works (at least on x86 boxes). 3 Get other things besides ISO's working such as music tracks, etc. - etc. We're not sure of the best way to go about doing 1 & 2. If anyone tests this out and looks at the code please give us feedback. Let us know if it works for you or if you have any trouble. Thanks, Dan Sturtevant & Chris Lalancette