You think they might try requesting valid attributes instead? :)
Best regards,
Alex Ionescu
On Thu, Jun 16, 2011 at 9:31 AM, <cgutman(a)svn.reactos.org> wrote:
Author: cgutman
Date: Thu Jun 16 13:31:12 2011
New Revision: 52277
URL:
http://svn.reactos.org/svn/reactos?rev=52277&view=rev
Log:
[NTOSKRNL]
- Use the IopParseDevice hack for floppies too (needed for format and chkdsk to work)
Modified:
trunk/reactos/ntoskrnl/io/iomgr/file.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/file.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] Thu Jun 16 13:31:12 2011
@@ -408,7 +408,8 @@
if (!(DirectOpen) &&
!(RemainingName->Length) &&
!(OpenPacket->RelatedFileObject) &&
- ((wcsstr(CompleteName->Buffer, L"Harddisk"))) &&
+ ((wcsstr(CompleteName->Buffer, L"Harddisk")) ||
+ (wcsstr(CompleteName->Buffer, L"Floppy"))) &&
!(UseDummyFile))
{
DPRINT1("Using IopParseDevice() hack. Requested invalid attributes:
%lx\n",