LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2007, 06:09 AM   #1
thomas_fogh
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Fedora, Ubuntu
Posts: 13

Rep: Reputation: 0
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?

Like:
/DVD_BACKUP/Cars/AUDIO_TS
/DVD_BACKUP/Cars/VIDEO_TS

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.
 
Old 02-02-2007, 06:18 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
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?
 
Old 02-02-2007, 07:22 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
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).
 
Old 02-02-2007, 07:31 AM   #4
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

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

Code:
dd if=/dev/dvd of=backup.iso
- or -
Code:
cat /dev/dvd > backup.iso
Mplayer should be able to play with:

Code:
mplayer -dvd-device backup.iso dvd://
 
Old 02-03-2007, 04:16 AM   #5
thomas_fogh
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Fedora, Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
It's not a homework assignment
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...
 
  


Reply



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
Mount DVD RW drive sparckis Linux - Newbie 2 01-21-2007 09:22 PM
K3B, DVD: mount : Not a directory - whats going on? dmoore0100-linuxqs Linux - General 12 07-25-2006 11:16 AM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 11:30 AM
DVD Drive and CDRW Drive Will not mount on Slackware 10.1 Kernel 2.6.1 necrozen Linux - Hardware 1 09-13-2005 08:21 PM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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