Hi David and Maxim,
Thanks for your help.
I’ve a genuine doubt. Please guide me on this issue.
I agree that it is very easy to make few changes in some ready to use sample. So, it will not give me much learning experience using it.
But, what I think is most of the things are predefined over here. For example, the input parameters and expected results for each IOCTL is predefined. So, even while writing driver from scratch one will need to look into such samples again and again. Then, instead of retyping most of the things from sample, why someone shouldn’t use the sample after going through its minute details? Wouldn’t this make him know more things in short span?
Also, I wonder why we shouldn’t be able to correct some sample in spite of having complete code. Isn’t that a great debugging challenge?
P.S. : While debugging the driver I’ve observed that the message ‘Windows is unable to format the drive’ comes before any unknown IOCTL or MOUNTDEV IOCTL occurs.
That means the problem is only with the data that formatter is reading from virtual drive. Is there something that FAT expects on disk even before formatting it? Can I get the trace of what FAT formatter does exactly?
Please help me to understand.
Regards,
Kailas Joshi
Project Engineer,
Global Microsoft Unit,
Wipro Technologies,
Pune-57
Extn : 3572
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Sunday, May 28, 2006 12:12 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Re:Problem in Formatting Filedisk drive with FAT
The commercial product comes with a sample ‘disk in a file’ program and driver. It is a simple project to write one with the library code, so how much of a learning experience can it be? Write from scratch if you want to learn. Google the subject and see where you should not go - such as miniport. The Vista Beta 2 WDK has a ramdisk sample using KMDF. I hear Microsoft has a sample of a ‘disk in a file’ project using iSCSI. There are a couple of libraries still available for creating one of the projects, but with most of the work done for you they are more suitable for commercial projects and not practice.
“Kailas Joshi” wrote in message news:xxxxx@ntfsd…
Hi David,
Thank you very much for that information.
Being a beginner in driver programming I had never read the lincense agreement carefully. Actually, I am developing this driver for the practice purpose, to know how to build a Virtual Disk Driver. I was thinking about keeping this driver for free download.
Can you please guide me on how should I proceed with the project?
Do you suggest me to recode everything? If so, is there any other sample source that I can use?
Actually, I’ve neerly finished coding with the driver mentioned above and the problem that I mentioned is the last problem that I am facing. On some other websites I’ve seen that many people are facing some problem with the FileDisk.
Please help us to solve the problem.
Thanks in advance.
Regards,
Kailas Joshi
________________________________
Ring’em or ping’em. Make PC-to-phone calls as low as 1?/min http: with Yahoo! Messenger with Voice.
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>