-   Linux - Newbie (
-   -   Mount a directory as a CD/DVD drive?? (

thomas_fogh 02-02-2007 06:09 AM

Mount a directory as a CD/DVD drive??
Is it possible to mount (or whatever) a directory and make Linux think it's a CD/DVD drive?


mount /DVD_BACKUP/Cars /media/cdrom

And fool Linux to think that /media/cdrom is actually the Cars DVD?

Oh, and I can't use loop.

pixellany 02-02-2007 06:18 AM


Oh, and I can't use loop.
What's this about?? AHA!!!--perhaps one of the constraints in your homework assignment?

First, you do not mount directories. Mount refers to attaching a device to the filesystem so that it can be used to read/write.

Second, Linux cannot be fooled. It will outsmart you every time.

Please give us the real problem......e.g. do you want to know how to mount a CD or DVD?

Hitboxx 02-02-2007 07:22 AM

I think he's trying to run some movies he copied from DVDs' just as you play from a DVD, with all the menu and stuff. Sorry thomas not possible(AFAIK).

visaris 02-02-2007 07:31 AM

Better to make an ISO of the DVD. AFIK, simply running 'cp' for a backup is not sufficient. Try:


dd if=/dev/dvd of=backup.iso
- or -

cat /dev/dvd > backup.iso
Mplayer should be able to play with:


mplayer -dvd-device backup.iso dvd://

thomas_fogh 02-03-2007 04:16 AM

It's not a homework assignment :rolleyes:
It's for my HDD recorder which run Linux. I can use loopdevice to mount an iso but then I won't have the menus. (I can just playback the vobs.)
I guess I need to replace the device driver with a CD emulator of some sort... :scratch:

All times are GMT -5. The time now is 03:48 AM.