LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CDEmu specify mount folder? (https://www.linuxquestions.org/questions/linux-software-2/cdemu-specify-mount-folder-4175735620/)

rup1034 04-02-2024 08:28 PM

CDEmu specify mount folder?
 
I have just installed a nifty program CDEmu but after a bunch of tinkering and finally getting it working it seems like every time I mount a disk iso it creates a /home/user/run/NAME_OF_CDROM, which does not work well for games which have multiple cdroms or programs that rely on the same working directory when inserting a new disk.

Is there a way to force this program to always use the same mount point no matter what the name of the cdrom is? I mean there is only 1 emulated device setup on my system I do not see why it needs to make a new folder name for every mount. Such as always being /home/user/run/CDROM vs being INSTALL,PLAY,EXPANSION etc.

I thought about just mounting all 3 cdroms and the expansion pack and change my symlink every time it asks for a disk. I assume there has to be some configuration someplace so that user mounted file systems mount where I expect them to be.

I also have a problem where if I unmount a disk sometimes mounting a new iso picks the folder name of the previous disk and no files show up at all no matter what I do or how many times I unmount/remount.

This also happens with hard disk drives when I put in a external usb and it makes a user mount folder, then sometimes removing the usb drive and inserting a different usb drive will mount and have a empty folder with the name of the previous hard disk I had plugged in. Sometimes this fixes by unplugging closing every dolphin window then plugging a drive back in but is random when it occurs. I also did click eject to remove properly.

__________
Running Slackware Linux 15.0 64bit/multi lib/kde 5.24 plasma with dolphin file browser.

rup1034 04-03-2024 12:34 PM

I used a hackey way to get my game installed, by lazy unmounting the next cdrom and when getting back to the install disk force unloading rmmod -f loop && modprobe loop and mounting install disk back in. Crashed my kernel a couple times doing the install witha segfault if i unloaded too much it worked the third time.
I just linked the game to use that name of folder that that cd makes after all was installed.

It would be nice though if a cd emulation program would just use a standard naming scheme and have a good way to swap between iso's during a install.

I will try editing the source code maybee n see if its intuitive enough for me to swap out the variable that names the folder when it mounts and put static value in for at least drive 0 but it might still have a locked folder if a setup program is using it so this might not matter to be solved at this point considering how rarely I install a multi cdrom program.


All times are GMT -5. The time now is 08:20 PM.