[Samba] Fwd: Export cd's without mounting them. samba vfs module
using gnu's libcdio
sturtx at gmail.com
Fri Jan 21 16:29:37 GMT 2005
Sorry about posting to both lists, but I didn't get any feedback from
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.
---------- Forwarded message ----------
From: Dan Sturtevant <sturtx at 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 at lists.samba.org, libcdio-devel at gnu.org
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
The code works, but needs a fair amount of fixup and optimization.
A first pass at this code and instructions can be downloaded at:
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.
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.
Dan Sturtevant & Chris Lalancette
More information about the samba