English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 21 November 2020, 18:22   #1
palaste
Registered User
 
Join Date: Oct 2011
Location: Helsinki, Finland
Posts: 74
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?
palaste is offline  
Old 28 December 2020, 16:41   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
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...
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about Socket programming and UAE / FSUAE robinsonb5 Coders. General 5 23 April 2018 00:07
Game duplicated chip HOL data problems 2 20 January 2018 21:49
Trouble getting FS-UAE to boot from my hard drive directories Mrs Beanbag support.FS-UAE 2 27 May 2015 22:45
FS-UAE 2.4.1 + OAGD.net (I'm confused) Xorcist support.FS-UAE 3 24 April 2015 11:24
A.org and EAB - duplicated threads Chain project.EAB 6 27 July 2006 22:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06598 seconds with 15 queries