Hi gurus.
Is it possible to install CDFS or FAT sample from DDK using INF file?
If so where can I get information about?
Thansks in advance.
Hi gurus.
Is it possible to install CDFS or FAT sample from DDK using INF file?
If so where can I get information about?
Thansks in advance.
Any chance you could try and provide some more details? Yes, I can install
fastfat.sys even easier than using an inf file. Since you can’t sign
Microsoft files yourself, you can’t override the ones provided by the OS if
you are using XP, Vista, Server 2003, and or 2000. If you are using NT4,
then just copy the fastfat.sys you compile over the existing one. What
happens when you try? The solution has been posted several times for the
later operating systems and involves ImagePath.
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
Here is how I did it with fastfat and ext2 for windows.
I’ll use fastfat as an example, ok?
Having done that, I formatted a partition into fat32 as usual and
then “spoiled” it to make it fastfat-unrecognizable (ext2 comes with
its own formatter). It turns out that zeroing byte #0 is enough
to cheat all std FSes, including the “real” fat32.
As it turned out, ext2 uses the same 0-byte trick, btw.
Thus I got the best of both worlds: the volume was formatted
by standard means so I did not have to bother about a formatter,
and, on the other hand, both fat32 and myfs could coexist.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David Craig
Sent: Friday, April 06, 2007 8:57 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] CDFS .INF installation
Any chance you could try and provide some more details? Yes, I can install
fastfat.sys even easier than using an inf file. Since you can’t sign
Microsoft files yourself, you can’t override the ones provided by the OS if
you are using XP, Vista, Server 2003, and or 2000. If you are using NT4,
then just copy the fastfat.sys you compile over the existing one. What
happens when you try? The solution has been posted several times for the
later operating systems and involves ImagePath.
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks for reply.
The main idea of my question is to get answer is it possible in general to install via INF file. Since I didn’t see in samples installing via INF (except file sytem filters). I didn’t find any information here and thus I’ve asked about. I’m not going to install CDFS or FastFat but the only question is this kind of driver can be installed like all other drivers with INF file or it should be installed via different way.
> The main idea of my question is to get answer is it
possible in general to install via INF file.
I don’t see why not, after all, INF sets things in registry
(and is remembered by windows for possible deletions later).
Not sure if it is relevant, but just a reminder: FS’s are
(almost) always loaded “as needed”.
Each fs comes with a special (small, cheap and simple) driver
called “fs recognizer”. When you mount a volume, the OS tries
each of the recognizers; the first one that succeeds loads
the correct fs driver per se.
So, for a FS myfs you have myfs_rec.sys (small guy) and myfs.sys
(real one).
IIRC, just recently someone here was describing mounting, if it is
relevant, search recent posts for MOUNT_VOLUME or something like
that.
You may have your own reasons to have an INF, of course. For a
standard way to load an FS driver you may want to google for
IRP_MN_LOAD_FILE_SYSTEM.
Here’s a code snippet from my myfsrec.cpp (after Nagar, of course):
// …
case IRP_MN_LOAD_FILE_SYSTEM:
// OK. So we processed a mount request and returned
// STATUS_FS_DRIVER_REQUIRED to the I/O Manager. This is the result!
RtlInitUnicodeString(&driverName, L"\Registry\Machine\System\CurrentControlSet\Services\" FS_NAME_W);
status = ZwLoadDriver(&driverName);
if((!NT_SUCCESS(status)) && (status != STATUS_IMAGE_ALREADY_LOADED)) {
pFsRecDExt->DidLoadFail = TRUE;
} else {
IoUnregisterFileSystem(g_pFSRecDO);
}
break;
// case …
For a layman: “if this is my FS, load my FS driver!”
FS book [preferably not the thin one (Custer) but the thick
one (Nagar + his diskette)] certainly would not hurt…
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@ukr.net
Sent: Saturday, April 07, 2007 7:00 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] CDFS .INF installation
Thanks for reply.
The main idea of my question is to get answer is it possible in general to install via INF file. Since I didn’t see in samples installing via INF (except file sytem filters). I didn’t find any information here and thus I’ve asked about. I’m not going to install CDFS or FastFat but the only question is this kind of driver can be installed like all other drivers with INF file or it should be installed via different way.
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks Alex a lot.
Is situation is different with network redirectors? I mean solution based on rdbss.sys?
“Alex Shvedov” wrote in message news:xxxxx@ntfsd…
> The main idea of my question is to get answer is it
> possible in general to install via INF file.
I don’t see why not, after all, INF sets things in registry
(and is remembered by windows for possible deletions later).
Not sure if it is relevant, but just a reminder: FS’s are
(almost) always loaded “as needed”.
Each fs comes with a special (small, cheap and simple) driver
called “fs recognizer”. When you mount a volume, the OS tries
each of the recognizers; the first one that succeeds loads
the correct fs driver per se.
So, for a FS myfs you have myfs_rec.sys (small guy) and myfs.sys
(real one).
IIRC, just recently someone here was describing mounting, if it is
relevant, search recent posts for MOUNT_VOLUME or something like
that.
You may have your own reasons to have an INF, of course. For a
standard way to load an FS driver you may want to google for
IRP_MN_LOAD_FILE_SYSTEM.
Here’s a code snippet from my myfsrec.cpp (after Nagar, of course):
// …
case IRP_MN_LOAD_FILE_SYSTEM:
// OK. So we processed a mount request and returned
// STATUS_FS_DRIVER_REQUIRED to the I/O Manager. This is the result!
RtlInitUnicodeString(&driverName, L"\Registry\Machine\System\CurrentControlSet\Services\" FS_NAME_W);
status = ZwLoadDriver(&driverName);
if((!NT_SUCCESS(status)) && (status != STATUS_IMAGE_ALREADY_LOADED)) {
pFsRecDExt->DidLoadFail = TRUE;
} else {
IoUnregisterFileSystem(g_pFSRecDO);
}
break;
// case …
For a layman: “if this is my FS, load my FS driver!”
FS book [preferably not the thin one (Custer) but the thick
one (Nagar + his diskette)] certainly would not hurt…
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@ukr.net
Sent: Saturday, April 07, 2007 7:00 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] CDFS .INF installation
Thanks for reply.
The main idea of my question is to get answer is it possible in general to install via INF file. Since I didn’t see in samples installing via INF (except file sytem filters). I didn’t find any information here and thus I’ve asked about. I’m not going to install CDFS or FastFat but the only question is this kind of driver can be installed like all other drivers with INF file or it should be installed via different way.
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
If you want to replace the MS’s OS-provided binary of CDFS.SYS with your
own customized - then renaming it MyCDFS.SYS and setting the ImagePath value
for CDFS service in the registry to “MyCDFS.sys” is the best way.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
> renaming it MyCDFS.SYS and setting the ImagePath value
I understand that the OP also wants to:
(a) debug the new stuff, and
(b) compare the new stuff with the original, be it CDFS
or FASTFAT or ext2 or whatever.
If (I said “if”) this is the case, renaming is not enough.
All the fun of a 0 byte trick is that you have everything
as standard as it can be, in the fastfat case at least.
Is situation is different with network redirectors?
I mean solution based on rdbss.sys?
I may be wrong but I don’t see any (significant) difference;
rdbss is SERVICE_SYSTEM_START (= 1), as is the FS for a boot
drive (ntfs, in my case).
It looks like the fs_rec -> fs scheme works always, even
during boot (? - worth checking on my virtuals though).
What exactly you want to achieve? What is the problem
you are trying to solve? It’s hard to imagine that the
solution really depends on whether there is an inf
or not…
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Saturday, April 07, 2007 2:18 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] CDFS .INF installation
If you want to replace the MS’s OS-provided binary of CDFS.SYS with your
own customized - then renaming it MyCDFS.SYS and setting the ImagePath value
for CDFS service in the registry to “MyCDFS.sys” is the best way.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
I’m trying to install on VISTA my file system driver. It is based on smbmrx
sample. I didn’t find any information how to install it correctly with UAC
turned on. Thus I asked is it possible to install via INF since this is a
common way to install drivers. I had executable which did this installation
on previous Windows version with success. I made my question about CDFS and
FastFat since I thought it is almost the same file system driver, I guess I
made a mistake. So actually I’m trying to install RDBSS based driver.
Installation is a part of MSI package, so Custom Action step which runs my
executable just fails. I put into this executable manifest file where
specify needed execution level, since separately this executable running as
Administrator installs driver ok. So here is a problem.
“Alex Shvedov” wrote in message news:xxxxx@ntfsd…
> renaming it MyCDFS.SYS and setting the ImagePath value
I understand that the OP also wants to:
(a) debug the new stuff, and
(b) compare the new stuff with the original, be it CDFS
or FASTFAT or ext2 or whatever.
If (I said “if”) this is the case, renaming is not enough.
All the fun of a 0 byte trick is that you have everything
as standard as it can be, in the fastfat case at least.
> Is situation is different with network redirectors?
> I mean solution based on rdbss.sys?
I may be wrong but I don’t see any (significant) difference;
rdbss is SERVICE_SYSTEM_START (= 1), as is the FS for a boot
drive (ntfs, in my case).
It looks like the fs_rec -> fs scheme works always, even
during boot (? - worth checking on my virtuals though).
What exactly you want to achieve? What is the problem
you are trying to solve? It’s hard to imagine that the
solution really depends on whether there is an inf
or not…
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Saturday, April 07, 2007 2:18 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] CDFS .INF installation
If you want to replace the MS’s OS-provided binary of CDFS.SYS with your
own customized - then renaming it MyCDFS.SYS and setting the ImagePath value
for CDFS service in the registry to “MyCDFS.sys” is the best way.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
> I’m trying to install on VISTA my file system driver.
Oops, I missed the point and was answering a question
that was not asked:-)
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gubarkov
Sent: Sunday, April 08, 2007 8:03 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] CDFS .INF installation
I’m trying to install on VISTA my file system driver. It is based on smbmrx
sample. I didn’t find any information how to install it correctly with UAC
turned on. Thus I asked is it possible to install via INF since this is a
common way to install drivers. I had executable which did this installation
on previous Windows version with success. I made my question about CDFS and
FastFat since I thought it is almost the same file system driver, I guess I
made a mistake. So actually I’m trying to install RDBSS based driver.
Installation is a part of MSI package, so Custom Action step which runs my
executable just fails. I put into this executable manifest file where
specify needed execution level, since separately this executable running as
Administrator installs driver ok. So here is a problem.
“Alex Shvedov” wrote in message news:xxxxx@ntfsd…
> renaming it MyCDFS.SYS and setting the ImagePath value
I understand that the OP also wants to:
(a) debug the new stuff, and
(b) compare the new stuff with the original, be it CDFS
or FASTFAT or ext2 or whatever.
If (I said “if”) this is the case, renaming is not enough.
All the fun of a 0 byte trick is that you have everything
as standard as it can be, in the fastfat case at least.
> Is situation is different with network redirectors?
> I mean solution based on rdbss.sys?
I may be wrong but I don’t see any (significant) difference;
rdbss is SERVICE_SYSTEM_START (= 1), as is the FS for a boot
drive (ntfs, in my case).
It looks like the fs_rec -> fs scheme works always, even
during boot (? - worth checking on my virtuals though).
What exactly you want to achieve? What is the problem
you are trying to solve? It’s hard to imagine that the
solution really depends on whether there is an inf
or not…
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Saturday, April 07, 2007 2:18 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] CDFS .INF installation
If you want to replace the MS’s OS-provided binary of CDFS.SYS with your
own customized - then renaming it MyCDFS.SYS and setting the ImagePath value
for CDFS service in the registry to “MyCDFS.sys” is the best way.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hi gurus.
>
> Is it possible to install CDFS or FAT sample from DDK using INF file?
> If so where can I get information about?
>
> Thansks in advance.
>
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com