[ros-bugs] [Bug 60] ufat, ulib, untfs, fsutil.dll not implemented.

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Wed Dec 7 03:51:28 CET 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=60


waxdragon at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |minor
            Version|unspecified                 |TRUNK




------- Additional Comments From waxdragon at gmail.com  2005-12-07 03:51 CET -------
Raising this to a minor, since the inability to format drives is a "major loss
in functionality" in my book.  I did some playing around and by hardcoding the
path in FormatEx, I was seeming able to format my d: drive with the shipped
format.exe.  Maybe someone could look into this and implement formatting, since
it would be helpful doing testing.


Index: lib/fmifs/format.c
===================================================================
--- lib/fmifs/format.c  (revision 19931)
+++ lib/fmifs/format.c  (working copy)
@@ -11,7 +11,7 @@
  */
 #include "precomp.h"
 
-#define NDEBUG
+//#define NDEBUG
 #include <debug.h>
 
 
@@ -36,9 +36,14 @@
   UNICODE_STRING usLabel;
   BOOLEAN Argument = FALSE;
 
-  RtlInitUnicodeString(&usDriveRoot, DriveRoot);
+  DriveRoot = L"\\\\??\\D:";
+
+  //RtlInitUnicodeString(&usDriveRoot, DriveRoot);
+  //RtlInitUnicodeString(&usDriveRoot, L"\\\\??\\D:");
   RtlInitUnicodeString(&usLabel, Label);
 
+  //RtlDosPathNameToNtPathName_U( (PWSTR) DriveRoot, &usDriveRoot, NULL, NULL);
+
   if (_wcsnicmp(Format, L"FAT", 3) == 0)
     {
       DPRINT1("FormatEx - FAT\n");


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list