Linux Voodoo Corporation
About Us 866.309.4617 Tracking Shopping Cart Checkout
  You are here: » Main » Howto's Log In  | Financing  
Swartz Creek, Michigan: Linux Voodoo offers Linux consulting (and support) services (both free and commercial), Linux compatible hardware and software reviews and sales, Linux servers and desktop, the Voodoo Linux distribution and hardening systems, Linux driver development, Linux news,chat, message boards, Linux embedded jobs, security advisories, Linux howto's and newbie information. linux download red hat directpc direct pc linux linux software linux driver linux tutorial linux mandrake mandrake linux linux command netapp linux mount windows source decss linux game linux hp suse linux linux downloads linux firewall linux server linux programming linux red hat wine linux linux ppt linux operating system embedded linux linux distribution corel linux free linux free linux download linux help force 10baset linux linux laptop reset linux scsi d kill tape /proc linux router linux pda linux wallpaper red hat linux download linux kernel linux router project linux iso linux howto linux how to linux os linux application linux certification linux web hosting linux hosting linux modem peanut linux nokia rs 232 linux modem setting linux for window linux free download linux documentation project linux sms1 linux call back linux problem reading directory linux boot disk linux theme linux cluster linux closing port linux security dialogic linux linux emulator linux training linux startup dual boot window 2000 linux linux magazine linux auto rpm realtek rtl8019 linux driver download robomon linux linux estrutura de diretorios 3c589d config linux timeservice linux linux samba linux dvd player linux .ppt mplayer near download and linux red hat linux 7.2 linux mail server free linux software linux hardwarelinux anti virus redmond linux linux modem driver linux vpn pic microcontroller linux programmer aol for linux linux review linux wireless
contact us: abuse@flonetwork.com webmaster@flonetwork.com info@webmaster@flonetwork.com spampoision@lnxvoodoo.com noc@sprint.net webmaster@lnxvoodoo.com wlad@lnxvoodoo.com michelle@lnxvoodoo.com ryan@lnxvoodoo.com bryan@lnxvoodo.com rambo@lnxvoodoo.com senioreditor@lnxvoodoo.com editor@lnxvoodoo.com
WOW on Linux, yes our gaming systems do include World of Warcraft for Linux! Linux Voodoo Gaming systems include one copy of World of Warcraft, 1 year paid subscription to Transgaming.com so you can play over 200 popular Windows games on our linux systems. Too good to be true? Try it out for yourself.
  Start shopping
Notebooks
notebooks 

 

Desktops
desktops 

 

Servers
servers 

 

Appliances
appliances 

 

Accessories
accessories 

 

Software
software 
Howto's  
More Information

4. More Information

Be sure to check the suggested reading in Section 1.3.

4.1. Frequently Asked Questions

I finally had to create this section - Frequently Asked Questions. Although, I sometimes think it should be called Frequently Answered Questions (at least I try to answer them all).

Q: Can I copy CD contents to a directory and share it with SAMBA?
Q: Do any scripts or programs exist that automate this process?
Q: Do any web interfaces exist that automate this process?
Q: Can copy-protected CD's (e.g. laserlok) be shared in this way?

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?

A: Yes:

  • Bradley Wendelboe and James Mumm wrote a shell script called CDTower - see Section 4.2.2 to download it.

    I have no independent test results of this script - use at your own risk.

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.

4.2. Other Instructions Available on the Web

This section is devoted to instructional materials that others have written or have sent to me.

4.2.1. Saving a CD-ROM to a File and Mounting it

Richard Black (Compaq) has some good pages about Saving CD-ROM's to files and mounting them in Red Hat Linux.


Device nodes are required to access the loop devices. You already have loop0 - loop7.
You can run the following loop to create the rest of the nodes (loop8 - loop255).
You can type all of the following lines of code on one single line if you leave off 
the trailing "\" characters.


C=8; echo; echo "Creating loop device nodes."; \
   while [ $C -lt 256 ]; do mknod /dev/loop$C b 7 $C; \
   echo -n .; C=`expr $C + 1`; done; echo;


Note: the quoting around the expr section are called backtick's and they are located
with the tilde character ("~") in the upper left hand corner of the keyboard. The 
character is not a single quote.

Thanks to Richard Black for permission to add this info and for linking back to this document.

4.2.2. CDTower v.06

A script to automate the creation of ISO images and share them via Samba

by Bradley Wendelboe [krakken (at) icehouse.2y.net] and James Mumm [dart (at) windeath.2y.net]

This software is covered under the GPL See http://www.gnu.org/copyleft/gpl.html for details.

Caution

I have no independent test results of this script - use at your own risk.

Thanks to Bradley Wendelboe for forwarding this script to me.

4.3. Under Future Consideration

These are things I'm currently looking into, trying to figure out, or planning to get done.

  • Make more scripts available that others have sent to me, either within this howto, or by hosting them and linking to them from this document.

  • Sharing CD's to Apple and Netware clients (Appletalk and IPX).

  • Compressed ISO Images.

  • Changing CD Shares on the fly (hopefully transparent to users).

  • Adding a module to Webmin to automate the CDServer process.

  • Distribution specific instructions.

  • I have a volunteer for a German translation, hopefully it will be done soon.

Continue
 



P
System Builder

Now Shipping from: California - Florida - Georgia - Massachusetts - Michigan - New Jersey - Pennsylvania - Tennessee - Texas
We only ship within the USA and APO's.
We do not ship on national US holidays or on weekends.
Linux Voodoo RSS Store Feed
About Us  |  Contact Us  |  Conditions of Use  |  Privacy Notice  |  Warranty & Returns  |  Employment |  PHP HTML Form Builder

Copyright © 2003, Linux Voodoo Corporation All rights reserved. Linux is a trademark of Linus Torvalds.
email-addresses
Asterisk Debian Linux, WOW on Linux, yes our gaming systems do include World of Warcraft for Linux! Linux Voodoo Gaming systems include one copy of World of Warcraft, 1 year paid subscription to Transgaming.com so you can play over 200 popular Windows games on our linux systems. Too good to be true? Try it out for yourself.