LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-17-2006, 08:44 AM   #1
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Rep: Reputation: 15
Mounting a folder and contents as DVD drive??


I have searched around, and i know know it is possible to mount .iso files and browse them. But is it possible to mount a directory as my dvd drive??

I dont have a dvd drive, but i am using a program that needs one to run correctly....So i am trying to mount a folder and its contents as my dvd drive....basically to fool the program.

/home/stuff/abc ----> and mount it as /mnt/dvd

How can I do this???

Thanks,
JungMin
 
Old 04-17-2006, 09:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
just use a symlink with the "ln" command, nothing tricky there. you'd either completely recreate the single /mnt/dvd directory or each file in that directory. alternatively can you not tell the app to look somewhere else. progams like mplayer can easily accept an alternative location to look in.
 
Old 04-17-2006, 09:33 PM   #3
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Original Poster
Rep: Reputation: 15
I looked up the command and how to use it, but it wont allow me to do it for a directory.

It says 'hard link not allowed for directory'.

To clear it up, I have the ripped contents of a dvd.....and i am trying to mount the folder containing those files on my computer as /mnt/dvd, when i actually dont have a dvd burner.

The program will work sort of by pointing at the directory, but there are a few options missing. So i want to try and mount the ripped contents as the actually dvd and try it again.

Thanks,
JungMin
 
Old 04-17-2006, 09:39 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,947
Blog Entries: 7

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
Quote:
Originally Posted by JungMin
It says 'hard link not allowed for directory'.
You need to use soft links (aka symlinks), so you need the -s switch:

# ln -s /input/dir /output/dir

Quote:
Originally Posted by JungMin
To clear it up, I have the ripped contents of a dvd.....and i am trying to mount the folder containing those files on my computer as /mnt/dvd, when i actually dont have a dvd burner.
It shouldn't matter. If it doesn't play from one location, it won't play from another. It sounds like you haven't ripped the DVD properly. Make sure you have libdvdcss and libdvdread installed on your computer and re-rip it. DVD video is just Mpeg2, so you can play it with anything really.
 
Old 04-17-2006, 09:49 PM   #5
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Original Poster
Rep: Reputation: 15
I will try it.....it will play, but i am trying to transcode it. The program wants has options available for mounted dvdroms, that it doesnt for ripped dvd's.
 
Old 04-17-2006, 10:12 PM   #6
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Original Poster
Rep: Reputation: 15
It worked....thanks.
 
Old 04-17-2006, 11:08 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,947
Blog Entries: 7

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
What program are you using to transcode it?

I've found that nothing beats DVDShrink (running under Wine).
 
Old 04-18-2006, 08:03 AM   #8
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Original Poster
Rep: Reputation: 15
DVD::RiP - www.exit1.org/dvdrip .....tried it once this afternoon. The transcoded file came out great....took 3hours to do a 2pass encode of a 50 minute vob file on my 1.6GHz machine. dunno if thats good or not....
 
Old 04-18-2006, 09:00 AM   #9
JungMin
Member
 
Registered: Dec 2005
Posts: 40

Original Poster
Rep: Reputation: 15
WoW!!! DVDShrink is extremely fast!!!!!! The output is a little larger than i wanted, just backing up the dvd's to a harddrive.

Thanks, definitely a great program.....
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dvd drive mounting simcox1 Slackware 25 08-14-2005 02:28 AM
Mounting DVD drive rcontino Linux - Hardware 4 07-13-2005 10:03 PM
Mounting DVD to a CDR/DVD combo drive f34r7h1s Slackware 38 05-16-2005 07:50 PM
mounting dvd drive true_atlantis Linux - Newbie 8 04-15-2004 03:02 AM
Mounting a CD-R on a DVD drive Pwcca Linux - Hardware 2 07-27-2003 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:23 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