LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-08-2008, 10:57 AM   #1
SkipHuffman
Member
 
Registered: Mar 2005
Posts: 81

Rep: Reputation: 15
Share a CDROM or DVDROM drive from one Linux System to another.


How can I share the DVD/CD drive from my desktop machine to my server machine.

My media server system lives in another room. I usually play podcasts or ripped copies of CDs that are stored on it, or on a variety of shared hard drives. No problem there. But sometimes I want to play a CD directly from my desktop cdrom drive through the media server.

Why? Well, the media server is attached to my house wide sound system and therefore will play everywhere. Why not just rip the CD? Sometimes I want to play a cd that I don't own, perhaps from the library, or borrowed from a friend.

So I want to put the CD in my desktop drive, then fire off mplayer over on the media server having it pick up from the CD Rom on my desktop.

I would guess that I need to add the cdrom to my exported drives (how do I do this)? Then mount from the media server (should be able to just mount, right? And all should be wonderful!
 
Old 06-09-2008, 06:51 PM   #2
Renan_S2
Member
 
Registered: Jul 2007
Location: Santa Maria, Brazil
Distribution: Arch Linux
Posts: 66

Rep: Reputation: 16
Is the CD an Audio CD? If so, sorry, but I guess you can't share a raw device over the LAN.
 
Old 06-10-2008, 07:15 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
That's what I was thinking too. Data disks can be mounted and shared, but since audio CD's are normally unmountable it's impossible to share them directly.

It looks like it should be possible to mount an audio cd with cdfs though, making the disk visible as a set of .wav files which should be sharable and playable over the network. There may be other similar options available as well.

Another option might be to see if you can find some way to play the disk on your local computer and pipe the output directly into the server's sound system.
 
Old 06-10-2008, 08:20 AM   #4
SkipHuffman
Member
 
Registered: Mar 2005
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Renan_S2 View Post
Is the CD an Audio CD? If so, sorry, but I guess you can't share a raw device over the LAN.
Yeah, audio CD. I was kind of suspecting that might be the case. Dammit!

I probably just need to burn the discs on a temporary basis, and set up a cron job to delete after a month or something. Yeah, that is the thing to do.

Thanks,
 
Old 06-10-2008, 08:23 AM   #5
SkipHuffman
Member
 
Registered: Mar 2005
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by David the H. View Post
That's what I was thinking too. Data disks can be mounted and shared, but since audio CD's are normally unmountable it's impossible to share them directly.

It looks like it should be possible to mount an audio cd with cdfs though, making the disk visible as a set of .wav files which should be sharable and playable over the network. There may be other similar options available as well.

Another option might be to see if you can find some way to play the disk on your local computer and pipe the output directly into the server's sound system.
I did not realize that audio cds could not be mounted! Thanks. I will look into cdfs though.

Piping the output would be just as effective, but I think that in a local situation the cd is connected directly to the sound card, bypassing the main bus. That would make it more difficult to redirect.
 
Old 06-10-2008, 10:01 AM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Audio CD's can't be mounted because they do not contain a filesystem as such. The CD standard was originally designed for playback on standalone players after all and IIUC is mostly just a data stream and an error-correction subsystem.


Computer CD drives nearly always give you the ability to access audio data either through the analog cable connected to the soundcard, or digitally through the main bus. It's usually up to the playback application as to which one is read. Most players I know of give you the ability to choose between them somewhere in their CD playback properties. But even if you can't get the digital data, you may be able to grab the output directly from the soundcard in some way.

I was always under the impression that the analog cable was there mostly for when you use the drive's built-in controls anyway, so that you don't have to rely on the OS for playback. But I could be wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot to Floopy or CDROM/DVDROM drive from GRUB johncsl82 Linux - Newbie 5 02-08-2008 04:53 AM
Cdrom/dvdrom Combo shirley55666 Linux - Software 5 02-16-2006 04:35 PM
cdrom/dvdrom mount problem salahuddin_66 Slackware 3 05-23-2004 10:17 AM
Help DVDRom detected as CDRom Kwiki Linux - Newbie 1 01-19-2003 09:46 PM
Help with my cdrom/dvdrom trentk Linux - Newbie 12 02-14-2002 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration