Click to See Complete Forum and Search --> : Mounting folder as CDROM?
StarMoose
01-24-2002, 09:45 PM
Is there anyway to trick the system into treating a folder like the CDROM drive?
eg-make it so that when use a file that usually looks for files on the CDROM, it looks at a folder instead.
What exactly do you want to be able to do?
X_console
01-24-2002, 10:39 PM
Haven't tried it, but put the file in /mnt and then have /dev/cdrom point to /mnt. Might work, might not.
StarMoose
01-24-2002, 11:47 PM
Ok, thanks. One problem though: how do I get it to point to /mnt? If it is a lot of files would having it point to a folder within /mnt achive the same effect?
For the record, I am asking this because installing UT directly from the CD is not working because I am using the version packaged with SoundBlaster Live!.
X_console
01-25-2002, 03:38 PM
Usually /dev/cdrom is a symlink to your actual cdrom device, such as /dev/hdc. Check by doing ls -l /dev/cdrom and take note of where it points to. To create a symlink of /dev/cdrom that points to /mnt:
ln -sf /dev/cdrom /mnt
If that doesn't work, you can restore your original symlink:
ln -sf /dev/cdrom /dev/hdc (assuming of course that it used to point to /dev/hdb[b]