I'm doing a study about how CD-ROM can be mounted virtually and all I could find out was mounting using loop devices.
mount -o loop disk1.iso /mount-point
This is fairly easy.
I understand that
/dev/sr0 is a block device and it point to some buffer in kernel and the kernel device driver puts the filesystem (ot whatever it puts i am not sure) in that buffer and when we use
mount it mounts the filesystem to the specified mount-point.
But am wondering whether we can mount an ISO of our choice (e.g.
disk1.iso) by using SCSI CD-ROM device
/dev/sr0 (without changing anything in the kernel) as it is done in Vmware and Virtualbox, where we can specify the ISO and it automatically emulates a CD-ROM hardware and the ISO can be mounted using
The major problem which i see here is that how
/dev/sr0/ will be linked to the iso?