• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux mount shared dvd

Fuzznuts

Senior member
I am trying to rip a couple of my dvds and would like to do it in linux so as not to tie up my main box.

I am trying to use dvd:rip as the front end but the dvd drive is on my main box and shared, it is mounted in the linux box under /mnt/share/dvd

now dvd::rip looks for a /dev/dvd or /dev/cdrom as the drive is there way to mount the /mnt/share/dvd as /dev/dvd to fool dvd:rip into thinking the drive is local

does this make sense? if so any ideas 🙂
 
Are you using NFS or SMB?

I am pretty sure mounting the DVD under a /mnt/dvd and then symlinking that to /dev/dvd won't work. The mount will be the filesystem, but the /dev file is the actuall raw device. Realy low level stuff.

Now if you mean that your main box is windows... then this has little chance to work, windows just doesn't have the networking capabilities to pull this stuff off.

You can try. Just:
ln -s /mnt/share/dvd /dev/dvd

That will create a symbolic link. Any program accessing that file will access it just as if it realy is the real file.

while making sure that there is no /dev/dvd file already. Then the program should at least try to rip it, but I don't know if it will work or not. Also make sure that whatever user your using has rights to the original mount, or do it as root.

Otherwise I think there is a way to share /dev/ files using NFS so that one machine can access the hardware of another directly but I am not sure about that...
 
cheers for the ideas but i already tried that 🙂

if anyone has a better app for ripping then im more than willing to give it ago.

 
Ripping in general relies on raw track access to what is on the disc. I doubt you will find one capable of this, so you're better off biting the bullet and ripping it on your main rig (or popping a DVD drive in your linux box).
 
I figured it OUT. Well actually found the answer in google. But hey, pretend I am smart ok?

This will only work on 2 linux machines though, I am pretty sure.

The netblock device.

It basicly maps a raw block device over the network to a TCP port. Then a client has a /dev/ file that is the recipient.

Requires support compiled into the kernel or a module. Like a loopback device. Nice and stable it's in my 2.4.22 kernel, vanilla sources (well for this... )
 
Have you actually tried it? I have my doubts whether or not it's reliable, but obviously I've never tried it...
 
I tried to get it working on a loopback (127.0.0.1). But I am a bit to much tired to deal with something new. I'd just forget about it later. I think I will try to have a client connect to it on a different machine later.

It would be reliable enough, obviously if you got disconnect from a server the results would be disasterious. But if it made it into the mainstream kernel it generally means that it is good enough to be relied on to do what it was designed for.

The guy who maintains one page about it used it to access a swap partition while working on some low-memory machine (probably compiling code and developing on a embeded or handheld device) and that worked suprisingly well in his opinion.

I wouldn't want to use it over the internet, though!

It opens up interesting possiblities though... Like a dvd or cdrom (for backups? or maybe movie "presentations"?) server over a network (you'd have to create a locking mechanism to prevent more then one user at a time using it.)

Or maybe something like getting animation or hardware acceleration from a framebuffer device on a machine over the network. I suppose (just a little bit) you wouldn't want to realy on that for production work unless you do a lot of testing first.
 
I inferred from fuzznuts' reference of the 'linux box' being different than his 'main box' that he is probably running Windows on his 'main' box with the DVD player. If I'm wrong in that assumption, that will work fine, but if I am correct, my answer still stands, I doubt highly that it can be done. 🙂

The network block device is a fun toy, and may work just fine if you are indeed using linux on both boxes.
 
Ya well. Windows sucks. (JK)

Something that may be ultimately easier would probably be just to take the DVD drive out the windows box and stick into the Linux box.

Then after you get everything ripped or whatever you can use something like a VideoLan server to serve the content to a windows machine via streaming over the LAN.

Well, maybe not. Something to play around with though.
 
Originally posted by: chsh1ca
I inferred from fuzznuts' reference of the 'linux box' being different than his 'main box' that he is probably running Windows on his 'main' box with the DVD player. If I'm wrong in that assumption, that will work fine, but if I am correct, my answer still stands, I doubt highly that it can be done. 🙂

The network block device is a fun toy, and may work just fine if you are indeed using linux on both boxes.


your right my main box is xp based so looks like that is out 🙂 moving the dvd is not an option both machines are huge with loads of scsi raid etc and i aint moving em 🙂

i see that dvd::rip will allow you to rip from a previoulsy ripped dvd ie stored locally however it doesnt say anywhere if it requires vobs, ifo's.

starting to get annoying now as i cant get this figured i hae tried many programs both gui and cmd and nothing yet allows me to do it. only way i have found so far is to encode to divx on main box then svcd it on linux using kavi2svcd. (i do this cos all apps to do svcd on windows machine fail for some odd reason)

peeps here must rip stuff some one must have an idea to get around this 🙂
 
i found a way round it 🙂

1) use dvd-decrypter in windows to rip the entire dvd to the local hd
2) share the folder
3) mount the shared folder on the linux machine
4) choose folder containing dvd image in the dvd::rip program. if the dialog box point to the path /mounted/share/VIDEO_TS
5) encode away 🙂

the dvd must be imaged 100% to the hd as dvd::rip will read from the VIDEO_TS.IFO in the root dir any files missing and it will erro when you select read dvd contents. other that encode away 🙂
 
Back
Top