English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 02 November 2017, 19:09   #1
midimax
Registered User

 
Join Date: Aug 2014
Location: Germany
Posts: 12
WinUAE deletes NTFS junction on Exit!?

Hello,

to save space on my new SSD (my old SSD gave up and I had to reinstall Windows 8.1 and everything) i moved the Cloanto AF 7.0 Plus "Amiga Files" Directory to my second Hard disk and made a junction:
Code:
junction "C:\Users\Public\Documents\Amiga Files" "E:\User\Public\Amiga Files"
(Both at local non-removable NTFS volumes. Sysinternals/Microsoft's junction command used.)

And now i have a very strange issue. As soon as i close WinUAE, regardless of started from Amiga Forever or WinUAE.exe (3.5.0) itself, the junction got deleted!
Why?
I have even tested 3.6.0 Beta 6, same thing happens.

(btw. C64 Forever / VICE works fine with a junction, without deleting them.)
midimax is offline  
AdSense AdSense  
Old 04 November 2017, 13:20   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,794
There is some very old code that deletes "Amiga files\WinUAE" if it is completely empty. Junction ("reparse point") probably confused it. I'll add extra checks to make sure it is really a directory.

I don't remember anymore but I assume it was added because WinUAE would detect empty Amiga files -directory and incorrectly assume AF mode. WinUAE also creates those if AF mode is enabled without installed AF. I guess it is mostly obsolete behavior now but I have habit of keeping backwards compatibility as long as possible and more..
Toni Wilen is online now  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Needed: A simple commodity that deletes files on workbench when you press the DEL key gulliver support.Apps 20 27 February 2015 20:01
Delete key that deletes in Workbench stefcep2 support.Apps 7 29 March 2014 12:48
Undeletable files under NTFS partition Shoonay support.Other 28 21 June 2007 19:16
WinUAE crashes on exit glwxxx support.WinUAE 13 19 August 2006 12:41
NTFS and _UAEFSDB._ problem glwxxx support.WinUAE 1 19 November 2005 17:50

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 16:51.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.09566 seconds with 11 queries