June 3, 2014
12:34 p.m.
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).