Linking a file on disk to a fake block device?
Hello,
Is it possible to 'attach' a file on the disk (say, an ISO image) to a fake block device (i.e. /dev/cdrom) so that programs that directly access /dev/cdrom or other will instead be redirected to that file? I tried to symlink the file to /dev/cdrom but that didn't work very well. I know there's a command somewhere to create a /dev node, but I think it requires that a 'handler' for that node already be 'registered'...
Any help with this issue would be greatly appreciated! Thanks!
|