Q: Can I copy CD contents to a directory and share it with SAMBA?
A: In a word - Yes.
There is nothing to keep you from doing that. However I'm not sure which arguments you
would have to use with tar and which options to include in the SAMBA stanzas.
Also, there could be problems with file name mangling (case sensitivity, spaces in file names),
file attributes (read-only), etc. If anyone is doing this successfully, please send me examples
of the commands you used for copying the contents of the CD, and your SAMBA stanzas for the shares.
Here's some commands you can use to copy the contents:
bash# cd /home
bash# mkdir image
bash# cd image
bash# mkdir mndrk81
bash# mount /mnt/cdrom
bash# cd /mnt/cdrom
bash# tar cvf - . | (cd /home/image/mndrk81; tar xvf -)
|
Thanks to Giblhauser Carl Michael for this info
Q: Do any scripts or programs exist that automate this process?
Q: Do any web interfaces exist that automate this process?
A: Not yet. However there is much interest in this.
Tony Melia [Tony.Melia (at) downsmicro.com.au] has announced that
he is 60% complete with a web interface, i.e. sucking CD's in,
creating extra /dev/loop
entries and seeing what space the CD's are taking up.
I am planning on writing a module for Webmin to
automate this process. That project is currently hosted on SourceForge at
http://sourceforge.net/projects/opencdserver
Q: Can copy-protected CD's (e.g. laserlok) be shared in this way?
A: To the best of my knowledge, No.
Others have reported problems to me
trying to share ISO images made from copy-protected CD's. It
seems that even when using the "unhide" option with mount that
files will remain hidden.