17 June 2009, 23:10 | #1 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Problem With Removable Media Drives
Selecting the option "Include removable drives" should be ignored on removable drives and removable media drives that are listed in the hard drive panel. This would be a similar idea that the option "Automount removable drives" uses.
I still mount those kind of drives on the Amiga side because the performance is much better. The only exception is my 2g SanDisk flashdrive, it just as fast either way. However, my usb memory card reader, usb zip drive, and other flashdrives are a lot faster mounted on the Amiga side. |
17 June 2009, 23:35 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
"mount on the amiga side" = uaehf.device and amiga filesystem driver&mountlist?
Easier said than done because afaik you can't reliably map block devices to drive letters (and vice versa) |
18 June 2009, 16:49 | #3 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
Yes. Mounting with uaehf.device with mountlist. You're already doing this with "Auto mount removable drives". Any removable drives that are listed in the harddrive panel don't get automounted, only drives that aren't listed. I just confirmed it, I removed the zip drive entry and it automounted when I put a MSDos disk in it. With the entry left in it doesn't automount. You implemented this way back when you first supported removable drives. "Include removable drives" just mounts the drive during boot up, all I'm asking is that you do the same thing as you did with "Auto mount removable drives". That way drives that are listed in the harddrive panel won't mount during boot up, which they do now. In other words, if automounting is disabled by being in the harddrive list then mounting at boot time should also be. |
|
28 June 2009, 12:25 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
It isn't the same thing. Actually it is totally different thing
Automount while emulation is running: - Windows sends notification that drive X: is now available - WinUAE scans all configured but unmounted real harddrive-style devices and checks if device name (that long "\\?\blahblah"-string) can be opened. If it opens -> it must be same device as drive X: -> do not mount as directory, only as an uaehf.device unit. If it does not open -> it is not same drive -> mount as a directory. This does not solve the problem of not being able to match device names to drive letter(s). ADDED: I guess this can be solved by comparing serial numbers but there are filesystem serial numbers, volume serial numbers and drive serial numbers, not yet sure how to find correct serial numbers.. Last edited by Toni Wilen; 28 June 2009 at 14:36. |
28 June 2009, 17:07 | #5 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
|
|
29 June 2009, 14:17 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
Problem is (was) that there was no need to match drive letter to physical devices. Until you asked to modify "Add PC drives" option
Solution was found. (IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS and comparing "DiskNumber" fields. That was much easier said than done.) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
External floppy problem - Toshiba drives | Old Fool | support.Hardware | 6 | 24 June 2010 12:15 |
removable drive removal error | NewDeli | support.WinUAE | 5 | 24 September 2009 21:15 |
Amiga 600 problem with external disk drives | SailorSat | support.Hardware | 8 | 25 August 2009 01:24 |
Removable Drive Problem With 1540b2 And On. | Ed Cruse | support.WinUAE | 0 | 30 November 2008 18:12 |
replacing amiga floppy drives with hard drives | Gordon | support.Hardware | 2 | 06 March 2007 00:44 |
|
|