Problems with NTFS formatting

Hi all,

Yes, now it really time for a FAQ… :wink:

My virtual disk driver supports only FAT12 and FAT16 today.
When using NTFS the progressbar goes to the top and then a messagebox
which tells me that the formatting failed.

When formatting with NTFS it comes a lot of IOCTL_DISK_VERIFY
requests. After these
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO_EX
IOCTL_DISK_SET_PARTITION_INFO
IOCTL_STORAGE_CHECK_VERIFY
IOCTL_DISK_GET_PARTITION_INFO_EX
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_STORAGE_GET_HOTPLUG_INFO
FT_BALANCED_READ_MODE
IOCTL_DISK_IS_WRITABLE

At least one of these are probably handled badly… Or?

Could it be the partition type?
IOCTL_DISK_SET_PARTITION_INFO sends partiontype as
0x5b. I cannot understand which partion type this is. Non in the list
or is it a bitored value?
This makes the trouble that I don’t know which partiontype to use in
the other requests. Now I therefore allways return FAT32. Don’t
feel good… :slight_smile:

Hope you have a consoling aswere…
Daniel Öberg

> This makes the trouble that I don’t know which partiontype to use in

the other requests. Now I therefore allways return FAT32. Don’t
feel good… :slight_smile:

This is correct. The only thing for which the partition type is used is
distinguishing software RAIDs like DmIo. It is not used during mount.

Nevertheless, do not use absolutely lame values, or MountMgr will fail to
assign a drive letter for you.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com