Hello,
I don’t know if “kernel” is the right place for this, but cp is a basic linux functionality so i suppose it’s here.
Anyway i just get a wild bug, a strange one… i want to understand what is going one.
I download a mame romset, and use a copy command to “extract” specific list of roms in a folder. Thing is, for some times a specific rom folder do not work when i try to start the game on mame. I thought it is a mame bug, that this specific machine is broken right now, so i let it be, but tonight i did some investigation and this is strange.
My (limited, only for exemple) cp command look like this :
cp /home/XXX/Divers/Gaming/Archive/MAME_0.232_ROMs_Merged/{pgm.zip,dmnfrnt.zip} /ssd1/Home/Divers/Gaming/Arcade_Roms/PGM/
If i do this the two files pgm.zip and dmnfrnt.zip are probably corrupted because mame cannot start the rom, i get a black screen. Roms seems ok as they have the right “weight”. Same problem for any other roms from the same set. Now if i use mame to start the rom from the original (MAME_0.232_ROMs_Merged) folder, games start just fine.
So i try a few things, and arrive to this conclusion : if i copy a rom to the PGM folder with the cp command, it is systematically corrupted, and only with this folder and the cp command. If i copy manually with a file manager like dolphin to the PGM folder, the rom starts ok. If i delete the PGM folder, create a new, or name it pgm instead, same problem, roms are corrupt.
I try to copy the roms to folders with new name, in my “Arcade_Roms/” folder or anywhere else, and again no problem. So this problem is specific to the cp command and “pgm” name folder.
Also it could be only the bios file “pgm.zip” that could be corrupted, so the roms cannot boot, i don’t know. Maybe cp don’t like to copy a file to a folder with the same name, who knows. Maybe someone have an explanation because i find this one very strange. I run several other cp commands and have no problems with the other folders.
Could it be a problem with my file system ?