problem in installing fastfat sample - plz help solve the problem

hello all,

i have wdk and am able to build fastfat sample successfully, as a result
some files including fastfat.sys file , are generated.
i know that i can install drivers using inf files, as i have installed other
umdf and kmdf drivers where i get inf files after building the sample. here
inf file is not present.

i also tried to make inf file manually and installed it using add/remove
hardware. it seems to install successfully but there is not considerable out
put available.

can some body please guide me how i can install this sample(Fastfat) and
what will be the output if driver is successfully installed.

also please tell me how can i use this sample to build my own file system
driver.
Actually i am completely new to device drivers and need help v urgently.

regards,
laiq

You can install the driver using the OSRLoader:

http://www.osronline.com/article.cfm?article=157

That’s all I can help you with; building your own file system is a
little broad of a question for this list.

Good luck,

mm

Laiq wrote:

hello all,

i have wdk and am able to build fastfat sample successfully, as a result
some files including fastfat.sys file , are generated.
i know that i can install drivers using inf files, as i have installed
other umdf and kmdf drivers where i get inf files after building the
sample. here inf file is not present.

i also tried to make inf file manually and installed it using add/remove
hardware. it seems to install successfully but there is not considerable
out put available.

can some body please guide me how i can install this sample(Fastfat) and
what will be the output if driver is successfully installed.

also please tell me how can i use this sample to build my own file
system driver.
Actually i am completely new to device drivers and need help v urgently.

regards,
laiq

actually i have tried osrLoader, if you know any other way of doing this ?
what should be the possible output if fastfat is installed??

thanks a lot for the reply

On Mon, Apr 7, 2008 at 7:52 PM, Martin O’Brien
wrote:

> You can install the driver using the OSRLoader:
>
> http://www.osronline.com/article.cfm?article=157
>
> That’s all I can help you with; building your own file system is a little
> broad of a question for this list.
>
> Good luck,
>
> mm
>
>
> Laiq wrote:
>
> >
> > hello all,
> >
> > i have wdk and am able to build fastfat sample successfully, as a result
> > some files including fastfat.sys file , are generated.
> > i know that i can install drivers using inf files, as i have installed
> > other umdf and kmdf drivers where i get inf files after building the sample.
> > here inf file is not present.
> >
> > i also tried to make inf file manually and installed it using add/remove
> > hardware. it seems to install successfully but there is not considerable out
> > put available.
> >
> > can some body please guide me how i can install this sample(Fastfat) and
> > what will be the output if driver is successfully installed.
> >
> > also please tell me how can i use this sample to build my own file
> > system driver.
> > Actually i am completely new to device drivers and need help v urgently.
> >
> > regards,
> > laiq
> >
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hello Martin,

In my opinion OP asks about some sample INF file for FSD installation.
Indeed, in the WDK exist samples for installation of FS filter drivers but no
any sample for file system installation.

It is difficult to tell which Class and ClassGUID should be assigned to to file
system driver. Perhaps, some MS engineer can shed light onto this topic, i.e.
how to form correctly Version section for FS driver.

As far as I remember, but I not sure about this, the file system driver should
have Class=Unknown. Am I right?

Best regards,
Oleksiy Shatylo

Martin O’Brien wrote:

You can install the driver using the OSRLoader:

http://www.osronline.com/article.cfm?article=157

That’s all I can help you with; building your own file system is a
little broad of a question for this list.

Good luck,

mm

Laiq wrote:
>
> hello all,
>
> i have wdk and am able to build fastfat sample successfully, as a
> result some files including fastfat.sys file , are generated.
> i know that i can install drivers using inf files, as i have installed
> other umdf and kmdf drivers where i get inf files after building the
> sample. here inf file is not present.
>
> i also tried to make inf file manually and installed it using
> add/remove hardware. it seems to install successfully but there is not
> considerable out put available.
>
> can some body please guide me how i can install this sample(Fastfat)
> and what will be the output if driver is successfully installed.
>
> also please tell me how can i use this sample to build my own file
> system driver.
> Actually i am completely new to device drivers and need help v urgently.
>
> regards,
> laiq


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@nero.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> can some body please guide me how i can install this sample(Fastfat)

File system drivers are installed in a somewhat special manner.

They are accompanied by one more driver, called file system recognizer,
which makes a decision whether your FSD is necessary (and should be loaded)
or not.

[One recognizer can serve several filesystems, but it’s not the point here.]

The idea here - “why should I pull a FAT32 driver (which is pretty fat, no
pun intended), if there are no FAT32 volumes around?”

So every time a new volume appears ( = is mounted), the OS tries all
recognizers available, one at a time, and one of them says “yes, you are
mine!” and pulls in the correct FSD.

Read Nagar (and look into the floppy’s contents!) or, alternatively, follow
the code for open source version of ext2 driver for Windows.

You don’t need the filesystem part of the project.

You can find this project on the web, and you can follow the logic of how
the recognizer is called and what it does when it sees “its” filesystem.

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Laiq
Sent: Monday, April 07, 2008 10:42 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] problem in installing fastfat sample - plz help solve the
problem

hello all,

i have wdk and am able to build fastfat sample successfully, as a result
some files including fastfat.sys file , are generated.
i know that i can install drivers using inf files, as i have installed other
umdf and kmdf drivers where i get inf files after building the sample. here
inf file is not present.

i also tried to make inf file manually and installed it using add/remove
hardware. it seems to install successfully but there is not considerable out
put available.

can some body please guide me how i can install this sample(Fastfat) and
what will be the output if driver is successfully installed.

also please tell me how can i use this sample to build my own file system
driver.
Actually i am completely new to device drivers and need help v urgently.

regards,
laiq
— NTFSD is sponsored by OSR For our schedule debugging and file system
seminars (including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars You are currently subscribed to ntfsd as:
xxxxx@comcast.net To unsubscribe send a blank email to
xxxxx@lists.osr.com

I actually had the same problem a few days ago.

I solved it by three simple steps (at least under WinXp it works):

1.: turn off the “windows file protection” (google knows how)
2.: just copy your new “fastfat.sys” to “/Windows/System32/drivers” (better backup the old one)
3.: reboot

> 2.: just copy your new “fastfat.sys” to “/Windows/System32/drivers”

(better backup the old one)
Better yet, rename everything relevant from fat32 into something
different, like fat33, most importantly the binary (fat33.sys) and
the service name (fat33).

Then you can have both the native driver and yours side by side.

Yes, in this case you will have to actually install both fat33.sys
and fat33Rec.sys.

If you want to play with a fat33-recognizable volume:

  • write your own FS recognizer fat33Rec.sys;
  • take a normal fat32 volume;
  • spoil the first byte in its partition (set it to zero, as ext2
    sample does), now the native fat32 FS recognizer will not see
    it as fat32 (and make sure that fat33Rec.sys does accept
    this zero);

Now you have a playground for fat33 which is natively formatted - back
in the days when the volume was fat32 - and can be easily converted
back into native fat32 - just put whatever you replaced by zero back.

The bad news - since that first byte belongs to a boot sector, your
volume is not bootable any more (IIRC the zeroed byte contains 0xEB,
the “jmp” opcode, part of the boot-up code). Translation: spoil
D:'s (or E:'s) partition, not C:'s one.

Another note: this zeroing is much harder in Vista, as are all
direct disk writes.

But now you get the best of both worlds: play with fat33,
then convert it back to fat32 (by restoring 0xEB) to
see whether you screwed the volume up or not…

Note: I did not find any other way to reliably “spoil” a volume,
that is to make it unrecognizable by a native fat32 driver;
changing FAT32 in volume signature and several other things
I tried did not work, fat32.sys was still grabbing the volume as
its own.

Surely there are other safer ways to make a fat32-formatted volume
unrecognizable, but zeroing the very first byte in the partition
works fine: it makes the partition unrecognizable by all native
file systems.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-320409-
xxxxx@lists.osr.com] On Behalf Of xxxxx@david-bs.de
Sent: Tuesday, April 08, 2008 2:18 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] problem in installing fastfat sample - plz help
solve the problem

I actually had the same problem a few days ago.

I solved it by three simple steps (at least under WinXp it works):

1.: turn off the “windows file protection” (google knows how)
2.: just copy your new “fastfat.sys” to “/Windows/System32/drivers”
(better backup the old one)
3.: reboot


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com