English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.FS-UAE (http://eab.abime.net/forumdisplay.php?f=122)
-   -   FS-UAE gets confused with duplicated directories (http://eab.abime.net/showthread.php?t=104754)

palaste 21 November 2020 19:22

FS-UAE gets confused with duplicated directories
 
As we all know, AmigaOS is case-insensitive about file names, while UNIX is case-sensitive. This can lead to situations where there are files or directories that differ only by casing. UNIX views these as entirely separate with no problem, but AmigaOS can get confused.


I found this out the hard way when trying to install software to my emulated Amiga. Somehow the system disk ended up containing both C and c, both Devs and devs, both Libs and libs, and both S and s. The upper-case directories had my original content, the lower-case directories were empty.


As a result, FS-UAE booted to an emulated Amiga 4000 with just the operating system ROM, no system directories. It dropped me to a shell where I was unable to run any command. Typing "endcli" closed the shell and dropped me to a completely empty Workbench screen.


I removed the lower-case directories and restarted FS-UAE, and it worked OK this time.


How has this happened? Did FS-UAE look at the lower-case directories first and use them, and then failed because they were empty?

FrodeSolheim 28 December 2020 17:41

Hi, FS-UAE has code to work around that fact that UNIX/Linux file systems are generally case-sensitive. But, it does not detect "duplicate" directories. I haven't checked exactly how it will behave in such circumstances, but it will probably just use the first one it seems (could be random).

I don't think I'll try to handle this (I would have to merge directory views -and where to store new files?).

But, if these duplicate directories were created *by* FS-UAE, then I would definitively want to fix it. Without more information, I'll just assume that the directory duplication happened outside of FS-UAE...


All times are GMT +2. The time now is 12:23.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.

Page generated in 0.03911 seconds with 11 queries