Windows Vista Pops a Message "Disk is not Formatted" for an already formatted custom file system par

Hi All,
We are having a peculiar problem of an unwanted format message displaying for an already formatted custom file system partition. Once the volume is formated successfully and the drive letter is also assigned properly, Vista pop up this message each time. We tried to debug this and feel that the message box is popped from the explorer. This message box does not apppear for any NTFS partitons. We tried to verify the following things to verify if the internal calls are successfull in case of custom file system partitions:

Once the custom file system volume is formatted successsfully and assigned with a drive letter, we are making a call the GetVolumeInformation() to see if it returns correctly, we debugged and it returns the correct values. We also tried calling the IOCTL_DISK_UPDATE_PROPERTIES to update the disk properties after format and this also happens correctly, now we are not sure how to stop this nuisance messagebox from popping up each time. Any help will be appreciated.

Thanks & regards,
Arif

This means that the partition’s filesystem is not recognized, and none of
the present FSDs could mount it.

Yes, in this case, for STATUS_UNRECOGNIZED_VOLUME, the Windows shell
suggests to format it :slight_smile:


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

“Arif Nasim” wrote in message news:xxxxx@ntfsd…
Hi All,
We are having a peculiar problem of an unwanted format message displaying for
an already formatted custom file system partition. Once the volume is formated
successfully and the drive letter is also assigned properly, Vista pop up this
message each time. We tried to debug this and feel that the message box is
popped from the explorer. This message box does not apppear for any NTFS
partitons. We tried to verify the following things to verify if the internal
calls are successfull in case of custom file system partitions:

Once the custom file system volume is formatted successsfully and assigned with
a drive letter, we are making a call the GetVolumeInformation() to see if it
returns correctly, we debugged and it returns the correct values. We also tried
calling the IOCTL_DISK_UPDATE_PROPERTIES to update the disk properties after
format and this also happens correctly, now we are not sure how to stop this
nuisance messagebox from popping up each time. Any help will be appreciated.

Thanks & regards,
Arif

Thanks Maxim, but is there any workaround way to bypass this message? Except for
this message everthing else is working fine for me in Vista.

----- Original Message -----
From: “Maxim S. Shatskih”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Friday, March 02, 2007 4:46 AM
Subject: Re:[ntfsd] Windows Vista Pops a Message “Disk is not Formatted” for an
already formatted custom file system partition

> This means that the partition’s filesystem is not recognized, and none of
> the present FSDs could mount it.
>
> Yes, in this case, for STATUS_UNRECOGNIZED_VOLUME, the Windows shell
> suggests to format it :slight_smile:
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> “Arif Nasim” wrote in message news:xxxxx@ntfsd…
> Hi All,
> We are having a peculiar problem of an unwanted format message displaying for
> an already formatted custom file system partition. Once the volume is formated
> successfully and the drive letter is also assigned properly, Vista pop up this
> message each time. We tried to debug this and feel that the message box is
> popped from the explorer. This message box does not apppear for any NTFS
> partitons. We tried to verify the following things to verify if the internal
> calls are successfull in case of custom file system partitions:
>
> Once the custom file system volume is formatted successsfully and assigned
with
> a drive letter, we are making a call the GetVolumeInformation() to see if it
> returns correctly, we debugged and it returns the correct values. We also
tried
> calling the IOCTL_DISK_UPDATE_PROPERTIES to update the disk properties after
> format and this also happens correctly, now we are not sure how to stop this
> nuisance messagebox from popping up each time. Any help will be appreciated.
>
> Thanks & regards,
> Arif
>
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@calsoft.co.in
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

You said you have a ‘custom file system’ mounted. Is it a real ‘filesystem’
driver or some homebrew user mode code? If the former, fix your code so it
properly mounts and notifies the system that it has claimed the volume.
Normally a real filesystem driver consists of two pieces, the driver and a
recognizer that load the driver when it detects a matching volume. If you
let the raw filesystem mount the volume, it will be an unformatted volume
and that is the way it is supposed to work.

“Arif Nasim” wrote in message news:xxxxx@ntfsd…
> Thanks Maxim, but is there any workaround way to bypass this message?
> Except for
> this message everthing else is working fine for me in Vista.
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Friday, March 02, 2007 4:46 AM
> Subject: Re:[ntfsd] Windows Vista Pops a Message “Disk is not Formatted”
> for an
> already formatted custom file system partition
>
>
>> This means that the partition’s filesystem is not recognized, and
>> none of
>> the present FSDs could mount it.
>>
>> Yes, in this case, for STATUS_UNRECOGNIZED_VOLUME, the Windows shell
>> suggests to format it :slight_smile:
>>
>> –
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> xxxxx@storagecraft.com
>> http://www.storagecraft.com
>>
>> “Arif Nasim” wrote in message news:xxxxx@ntfsd…
>> Hi All,
>> We are having a peculiar problem of an unwanted format message displaying
>> for
>> an already formatted custom file system partition. Once the volume is
>> formated
>> successfully and the drive letter is also assigned properly, Vista pop up
>> this
>> message each time. We tried to debug this and feel that the message box
>> is
>> popped from the explorer. This message box does not apppear for any NTFS
>> partitons. We tried to verify the following things to verify if the
>> internal
>> calls are successfull in case of custom file system partitions:
>>
>> Once the custom file system volume is formatted successsfully and
>> assigned
> with
>> a drive letter, we are making a call the GetVolumeInformation() to see if
>> it
>> returns correctly, we debugged and it returns the correct values. We also
> tried
>> calling the IOCTL_DISK_UPDATE_PROPERTIES to update the disk properties
>> after
>> format and this also happens correctly, now we are not sure how to stop
>> this
>> nuisance messagebox from popping up each time. Any help will be
>> appreciated.
>>
>> Thanks & regards,
>> Arif
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@calsoft.co.in
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>
>
>
>

Hi,

We are facing the same problem. Once we assign a drive letter to a partition we are about to format with the ‘FormatEx’ API, Vista displays a popup complaining about a not formatted partition.

Did you find a solution to bypass this annoying message?

Thanks in advance.

Regards,

Serge DE LUCA