View previous topic :: View next topic |
Author |
Message |
Galumph Tux's lil' helper
Joined: 15 Jul 2010 Posts: 122 Location: Israel
|
Posted: Sun Sep 02, 2012 2:02 pm Post subject: Sharing udev device nodes over network |
|
|
I recently purchased one of the new Mac Minis, and as some of you might know, these macs don't come with DVD drives. I do have another computer running Gentoo with two other DVD drives connected to it though. Is there a way to "share" these drives' device nodes over a network, the end result being two files on my Macintosh which are identical to the two device nodes, and that writing to them automatically writes to the real nodes? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sun Sep 02, 2012 2:37 pm Post subject: |
|
|
Galumph,
Yes and no. /dev entries are not real files - they provide access to thinks inside the kernel.
You can share the contents of a DVD drive over NFS, or with some other network filesystem.
If you want to write to the remote DVD it gets a bit harder. There were one or two older CD/DVD writing packages that supported remote writing but I don't know of athin current.
Tell us the problem you really want to solve, rather than your perceived solution to it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Galumph Tux's lil' helper
Joined: 15 Jul 2010 Posts: 122 Location: Israel
|
Posted: Sun Sep 02, 2012 2:47 pm Post subject: |
|
|
The real problem is that I want to read/write from/to the drives on the mac without buying extra hardware to connect them to it. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Sep 02, 2012 3:36 pm Post subject: |
|
|
You may be able to get it to work like a local device using iSCSI, it's unlikely though. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Sun Sep 02, 2012 4:37 pm Post subject: |
|
|
Galumph,
Its a bit ugly but for reading, you can mount the DVD someplace on the local box then share it with say, sshfs, nfs or any other network filesystem
If its for a single user and you already have ssh access, sshfs is the way to go. sshfs can read and write but not to a device that has an inhernelt read only filesystem.
You can burn to a remote DVD over a ssh tunnel too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Sep 02, 2012 5:37 pm Post subject: |
|
|
You can also mount the cd/dvd image with loop to get a local dvd like result. For read purpose.
The hard part would be writing, i would prefer send the task to my server and let it write the media instead of direct writing thru the network. |
|
Back to top |
|
|
roravun Tux's lil' helper
Joined: 05 Sep 2012 Posts: 82
|
Posted: Wed Sep 05, 2012 1:00 pm Post subject: |
|
|
If you run linux on your mac mini, then you can export dvd block device with NBD (Network Block Device). |
|
Back to top |
|
|
|