Hello,

I have a "self-made" file system driver. Unfortunately, I cannot see a
corresponding "DSK1:" entry in the Storage Manager Control Panel
applet. I am using the following autoload registry keys:

[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\MYFSD]
"Flags"=dword:1000
"Dll"="myfsd.dll"
"Paging"=dword:1
"Bootphase"=dword:0
"LoadFlags"= dword:1
"MountAsBootable"=dword:1

What is missing in order to see "DSK1:" in the Control Panel?

Peter

Re: My file system driver does not expose DSK1: in the Control Panel by Erwin

Erwin
Mon Aug 11 23:33:09 PDT 2008

Do you have

Next to the fact that we can only guess what goes wrong some things that
pop-up:

Did you include partition driver component in your OSDesign? Same goes for A
filesystem (FAT exFAT etc..)?
Is your driver getting called? Is it being initialized?

What does your debug output telling you?

http://www.guruce.com/blogpost/howtoaskquestionsonnewsgroups

Erwin Zwart

<peach.voser@gmx.ch> wrote in message
news:18370184-c6c9-48aa-8d00-18aa7e9e7f2e@34g2000hsh.googlegroups.com...
> Hello,
>
> I have a "self-made" file system driver. Unfortunately, I cannot see a
> corresponding "DSK1:" entry in the Storage Manager Control Panel
> applet. I am using the following autoload registry keys:
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\MYFSD]
> "Flags"=dword:1000
> "Dll"="myfsd.dll"
> "Paging"=dword:1
> "Bootphase"=dword:0
> "LoadFlags"= dword:1
> "MountAsBootable"=dword:1
>
> What is missing in order to see "DSK1:" in the Control Panel?
>
> Peter



Re: My file system driver does not expose DSK1: in the Control Panel by peach

peach
Tue Aug 12 04:48:17 PDT 2008

Basically, the file system driver (FSD) works fine and I can properly
access the "Flash Disk" - I don't think it's a level 0 problem. The
entry point MYFSD_MountDisk() is invoked. Also, the partition drivers
and storage manager components are all present in the image.

In the debug output, I just see that my FSD is successfully
initialized and nothing more. What DEBUGMSG() should I look for?

I think the storage manager profile registry set-up is missing...

Peter

Re: My file system driver does not expose DSK1: in the Control Panel by Erwin

Erwin
Tue Aug 12 05:06:26 PDT 2008

Oke, i think you gave the answer yourself,

Also check the AutoMount and AutoPart entries in the profile registry
settings,

examples are in the MSDN help,

Erwin Zwart

<peach.voser@gmx.ch> wrote in message
news:173a7f1a-67cb-46bd-8c73-5c88010150b5@a1g2000hsb.googlegroups.com...
> Basically, the file system driver (FSD) works fine and I can properly
> access the "Flash Disk" - I don't think it's a level 0 problem. The
> entry point MYFSD_MountDisk() is invoked. Also, the partition drivers
> and storage manager components are all present in the image.
>
> In the debug output, I just see that my FSD is successfully
> initialized and nothing more. What DEBUGMSG() should I look for?
>
> I think the storage manager profile registry set-up is missing...
>
> Peter



Re: My file system driver does not expose DSK1: in the Control Panel by Rik

Rik
Tue Aug 12 06:41:17 PDT 2008

Hi Peter,

Have you got a block driver set up to use your new file system driver?
For example....


; Profile entry for flash driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MYFlash]
"Dll"="BlockDriver.dll" ; Name of block driver dll
"Order"=dword:1
"Prefix"="DSK" ; Prefix for device name, not needed??
"Index"=dword:1
"Profile"="MyProfile" ; Name of profile, FAL returns this from
IOCTL_DISK_DEVICE_INFO
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Flags"=dword:1000 ; If loading in Boot phase 0 is required.

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MyProfile]
"Name"="My Flash Driver"
"Order"=dword:1
"Folder"="My Storage" ; Specify folder name
"FileSystem"="MYFSD.dll"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoFormat"=dword:1
"AutoPart"=dword:1
"MountAsBootable"=dword:1
"MountFlags"=dword:2
"CompactionPrio256"=dword:32

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MyProfile\FATFS]
; Override auto format setting for FATFS on NAND "Flags"=dword:
00000020


regards,
Rik Attrill

Re: My file system driver does not expose DSK1: in the Control Panel by peach

peach
Mon Aug 18 06:20:56 PDT 2008

I tried the new registry set-up and the device hangs at boot... :-(
Are there Pegasus registry keys for the desktop PC to increase
verbosity at start-up???

Thanks,
Peter