📚 LinuxDocs
Topics:
All Pages8021X HOWTOACP ModemACPI HOWTOADSL Bandwidth Man..ATA RAID HOWTOATM Linux HOWTOAX25 HOWTOAccessibility Dev ..Accessibility HOWTOAdv Bash Scr HOWTOAdv Routing HOWTOAntares RAID sparc..Apache Compile HOWTOApache WebDAV LDAP..Assembly HOWTOAstronomy HOWTOAthlon Powersaving..Authentication Gat..Autodir HOWTOAviation HOWTOAvr Microcontrolle..BRIDGE STP HOWTOBTTVBackspaceDeleteBandwidth Limiting..Bangla HOWTOBash Prompt HOWTOBattery PoweredBelarusian HOWTOBelgian HOWTOBeowulf HOWTOBocaBogoMipsBootdisk HOWTOBridgeC++ dlopenC C++Beautifier HO..C editing with VIM..CDROM HOWTOCDServer HOWTOCable ModemCaudium HOWTOClone HOWTOCompaq Remote Insi..Compaq T1500 HOWTOConexant+Rockwell ..Cryptoloop HOWTODB2 HOWTODHCPDSL HOWTODVD Playback HOWTODebian Binary Pack..Debian JigdoDebian and Windows..Disk Encryption HO..Disk on Chip HOWTODocBook Demystific..DocBook InstallDocBook OpenJade S..Ecology HOWTOEmacspeak HOWTOEncourage Women Li..Encrypted Root Fil..Euro Char SupportEvent HOWTOFedora Multimedia ..Finnish HOWTOFirewall PiercingFlash Memory HOWTOFont HOWTOFramebuffer HOWTOGCC HOWTOGIS GRASSGlibc Install HOWTOHOWTO HOWTOHOWTO INDEXHP HOWTOHandspring VisorHard Disk UpgradeHardware HOWTOHighQuality Apps H..Home Electrical Co..IBM7248 HOWTOIO Perf HOWTOIP AliasIP Masquerade HOWTOIRCImplement Sys Call..Indic Fonts HOWTOInfrared HOWTOIngresII HOWTOInstall StrategiesInstallation HOWTOInstallfest HOWTOIntkeybItalian HOWTOJabber Server Farm..JavaStation HOWTOKerberos Infrastru..Kernel HOWTOKerneldKodak Digitalcam H..LDAP HOWTOLDP Reviewer HOWTOLILO crash rescue ..LVM HOWTOLeased LineLegoLinksys Blue Box R..Linux+Win95Linux+Win9x+Grub H..Linux+Windows HOWTOLinux Complete Bac..Linux Crash HOWTOLinux Gamers HOWTOLinux Modem SharingLinux Promise RAID..Linux i386 Boot Co..LinuxGL QuakeWorld..Lotus DominoR5MILO HOWTOMMBase Inst HOWTOMP3 CD BurningMail User HOWTOMajordomo MajorCoo..Man PageMasquerading Simpl..Medicine HOWTOMindTerm SSH HOWTOMobile IPv6 HOWTOMock MainframeModule HOWTOModulesMotorola Surfboard..Mozilla OptimizationMulti Distro DevNCURSES Programmin..NFS HOWTONFS Root Client mi..NIS HOWTONetMeeting HOWTONetwork boot HOWTONvidia OpenGL Conf..OLSR IPv6 HOWTOOnline Troubleshoo..Oracle 9i Fedora 3..PA RISC Linux Boot..PCTel MicroModem C..PHP Nuke HOWTOPPP HOWTOPagerPalmOS HOWTOPartitionPartition Mass Sto..Partition Mass Sto..Partition RescuePine ExchangePortSlavePost Installation ..Postfix Cyrus Web ..Pre Installation C..Print2WinPrinting HOWTOProcess AccountingProgram Library HO..Proxy ARP SubnetQmail ClamAV HOWTOQmail VMailMgr Cou..Querying libiptc H..RPM HOWTOReading List HOWTORedHat CD HOWTOReliance HOWTORemote BridgingRemote Serial Cons..SCSI 2.4 HOWTOSCSI Generic HOWTOSLIP PPP EmulatorSRM HOWTOSSL Certificates H..Scanner HOWTOScientific Computi..Scripting GUI TclTkSecure CVS PserverSecure Programs HO..Security HOWTOSecurity Quickstar..Security Quickstar..Serial Laplink HOWTOSerial Programming..Slovak HOWTOSmall MemorySmart Card HOWTOSoftware Proj Mgmt..Software Release P..Sound HOWTOSpam Filtering for..Speech Recognition..SquashFS HOWTOSybase ASA HOWTOSybase ASE HOWTOSybase PHP ApacheTCP Keepalive HOWTOTamil Linux HOWTOTimePrecision HOWTOTimeSys Linux Inst..Token RingTraffic Control HO..Traffic Control tc..UPS HOWTOUnix Hardware Buye..Unix and Internet ..UpgradeUsenet News HOWTOUser Authenticatio..VB6 to TclVMS to Linux HOWTOVPN HOWTOValgrind HOWTOVideoLAN HOWTOVim HOWTOVirtual WebWebcam HOWTOWikiText HOWTOWindows Newsreader..Wireless Link sys ..Wireless Sync HOWTOXDM XtermXDMCP HOWTOXFree Local multi ..XFree86 HOWTOXFree86 R200XFree86 Second MouseXFree86 Video Timi..XML RPC HOWTOXWindow Overview H..XWindow User HOWTOXinerama HOWTOXterminalsHtml singleI810 HOWTOLibdc1394 HOWTOOpenMosix HOWTOPhhttpd HOWTOPpp sshText

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? .:: chromewebstore.google.com ::.

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 .:: podcasts.apple.com ::. Red Hat Linux.

  • Saving a CD-ROM to a File and Mounting it

  • Linux Loop Devices - This page also includes the script below for creating many loop device nodes at once in /dev.

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. .:: staroetv.su ::. [Rust programming language Questions]

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] .:: chromewebstore.google.com ::.

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

To view/download this script:

http://www.talcon.com/projects/CDServer-HOWTO/scripts/cdtower_v0.06.sh.txt

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. [NumPy History]

  • 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). .:: swag.live ::.

  • Compressed ISO Images.

  • Changing CD Shares on the fly (hopefully transparent to users). .:: podcasts.apple.com ::.

  • Adding a module to Webmin to automate the CDServer process. .:: docs.google.com ::.

  • Distribution specific instructions.

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

Share or Research:

Share on FB Post to X LinkedIn 🤖 Ask AI about this