remote devices

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Jun 3 08:34:15 EDT 2014


On Mon, 02 Jun 2014 19:12:47 -0700, riya khanna said:

> Thanks for pointing this out! I was wondering if it is possible to use
> a remote GPU through /dev/gpu.

No.

The upshot is that whenever you open a character or block special device, it's
handled as a local reference, even if the directory entry came off a remote
filesystem.  So if /dev/null is char device 3,0, then any other reference to
char dev 3,0 will open the same /dev/null, and if /dev/sda5 is block device
8,5, then any open of block 8,5 will get the same device, and so on, whether
it's in /tmp, or /home, or /some/other/NFS-mounted-path (unless
it's on a file system mounted 'nodev', which exists specifically to stop that
sort of security issue).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140603/92f2f0e9/attachment.bin 


More information about the Kernelnewbies mailing list