my guess would be you could, however this would seem inefficient as it would be easier to just create symbolic link to the device node using any name you want, and you can have as many symbolic links pointing to the same device node as you need
(symbolic link is the linux equivalent of the 'shortcut' in windows or the 'alias' in mac-os)
for instance /dev/cdrom isnt usually an actual device node it is usually a symbolic link to the actual device node of your cdrom (/dev/hdX or /dev/srX), but you can access /dev/cdrom as if it were the actual device node
take /dev/cdrom for example
you could do ln -s /dev/sr0 /dev/cdrom which would create a symbolic link, /dev/cdrom that points to /dev/sr0 (the actual cdrom node), and then you could access the cdrom device through /dev/cdrom the same way as if you were using /dev/sr0 directly
Last edited by frieza; 02-25-2009 at 12:15 AM.
|