Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sharing udev device nodes over network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Galumph
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2010
Posts: 122
Location: Israel

PostPosted: Sun Sep 02, 2012 2:02 pm    Post subject: Sharing udev device nodes over network Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32026
Location: 56N 3W

PostPosted: Sun Sep 02, 2012 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Galumph
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2010
Posts: 122
Location: Israel

PostPosted: Sun Sep 02, 2012 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2374
Location: UK

PostPosted: Sun Sep 02, 2012 3:36 pm    Post subject: Reply with quote

You may be able to get it to work like a local device using iSCSI, it's unlikely though.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32026
Location: 56N 3W

PostPosted: Sun Sep 02, 2012 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4280

PostPosted: Sun Sep 02, 2012 5:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
roravun
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2012
Posts: 82

PostPosted: Wed Sep 05, 2012 1:00 pm    Post subject: Reply with quote

If you run linux on your mac mini, then you can export dvd block device with NBD (Network Block Device).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum