LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting a folder and contents as DVD drive?? (https://www.linuxquestions.org/questions/linux-general-1/mounting-a-folder-and-contents-as-dvd-drive-435983/)

JungMin 04-17-2006 08:44 AM

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

acid_kewpie 04-17-2006 09:20 AM

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.

JungMin 04-17-2006 09:33 PM

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

rkelsen 04-17-2006 09:39 PM

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.

JungMin 04-17-2006 09:49 PM

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.

JungMin 04-17-2006 10:12 PM

It worked....thanks.

rkelsen 04-17-2006 11:08 PM

What program are you using to transcode it?

I've found that nothing beats DVDShrink (running under Wine).

JungMin 04-18-2006 08:03 AM

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....

JungMin 04-18-2006 09:00 AM

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.....


All times are GMT -5. The time now is 01:37 PM.