Disk mounts duplicate when drive is connected to multiple wired modems.
aybri opened this issue ยท 2 comments
Minecraft Version
1.20.1
Version
1.110.1
Details
When connecting two or more wired modems to a single disk drive, multiple duplicate /disk*
mounts will show up connected to the same mounted filesystem. While there are checks in place for the typical peripheral
API in order to prevent duplicates (I checked by using peripheral.find("drive")
), this is not in place for disk mounting, which seems to be at least a partially separate system.
Steps can be reproduced by:
- Setting down a computer and a disk drive (containing a floppy or other mountable filesystem) a distance away from it.
- Placing two or more wired modem blocks against the disk drive and enable them (notice how it says both
drive_0
anddrive_1
are connected, despite there only being one drive). - Connecting those modem blocks back to the computer with networking cables, and another modem block next to the computer.
- Run
ls
and observe the duplicate mounts.
My logs can be found here: latest.log
This was actually a mistake on my part, I forgot to wrap the peripheral.find("drive")
call. Looking at the peripherals
program call below, you can see that it actually DOES appear twice.
Furthermore, the folks over at the Minecraft Computer Mods Discord have informed me that this is actually intended behavior, and is a common problem with new players (which I have no idea how I hadn't ran into yet). As such, I will be closing this bug report as "not planned."