formatting a disk

Hi,
I found a piece of code from Russinovic – his format demonstration.

Did I recognize it correct, that the code to format a disk is inside the
IFS and a generic format just invokes it somehow ?

No it is not. Standard file systems have supplementary DLL that contains
code which does actual formatting.

Alexei.

“Robert K.” wrote in message news:xxxxx@ntfsd…
> Hi,
> I found a piece of code from Russinovic – his format demonstration.
>
> Did I recognize it correct, that the code to format a disk is inside the
> IFS and a generic format just invokes it somehow ?
>

No.
FORMAT and CHKDSK are 100% user-mode code, which do calls to FS-specific
DLL like UFAT.DLL.
There is also IFSHLP.DLL (or IFSMGR.DLL?) - which is a helper for
FORMAT/CHKDSK and contains the FS-independent stuff like opening the device,
querying its size, issuing VERIFY and such.

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

----- Original Message -----
From: “Robert K.”
To: “Windows File Systems Devs Interest List”
Sent: Saturday, January 31, 2004 7:19 PM
Subject: [ntfsd] formatting a disk

> Hi,
> I found a piece of code from Russinovic – his format demonstration.
>
> Did I recognize it correct, that the code to format a disk is inside the
> IFS and a generic format just invokes it somehow ?
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com