difference between volume device like \Device\Harddisk1\DP(1)0-0+25 and \Device\Harddisk1\DR4

    Dear all,
               I’m developing my file system filter driver.I’m confused by the same USB device which has two different name like Device\Harddisk1\DP(1)0-0+1c and \Device\Harddisk1\DR27.I attach my driver to Device\Harddisk1\DP(1)0-0+1c  my filter work well.But failed on another device(\Device\Harddisk1\DR27).In my opinion Device\Harddisk1\DP(1)0-0+1c is the real Disk volume partition name.What about \Device\Harddisk1\DR27?

Thanks!


好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/

You need to understand some basic conceptions about mass storage device.
Turn to WDK, under “Storage Devices\Design Guide\Storage Drivers\Storage
Drivers and Device Objects”. The document clearly answered your question.

On Mon, Aug 31, 2009 at 5:28 AM, lin chen wrote:

> Dear all,
> I’m developing my file system filter driver.I’m confused by
> the same USB device which has two different name like
> Device\Harddisk1\DP(1)0-0+1c and \Device\Harddisk1\DR27.I attach my driver
> to Device\Harddisk1\DP(1)0-0+1c my filter work well.But failed on another
> device(\Device\Harddisk1\DR27).In my opinion Device\Harddisk1\DP(1)0-0+1c is
> the real Disk volume partition name.What about \Device\Harddisk1\DR27?
>
> Thanks!
>
> ------------------------------
> ???ؿ???㷢???ؿ?ȫ???ߣ?http:</http:>
> —
> NTFSD is sponsored by OSR
>
> For our schedule of debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

You must properly attach your legacy filter, namely by IoRegisterFsRegistrationChange, not by names.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

“lin chen” wrote in message news:xxxxx@ntfsd…
Dear all,
I’m developing my file system filter driver.I’m confused by the same USB device which has two different name like Device\Harddisk1\DP(1)0-0+1c and \Device\Harddisk1\DR27.I attach my driver to Device\Harddisk1\DP(1)0-0+1c my filter work well.But failed on another device(\Device\Harddisk1\DR27).In my opinion Device\Harddisk1\DP(1)0-0+1c is the real Disk volume partition name.What about \Device\Harddisk1\DR27?

Thanks!

好玩贺卡等你发,邮箱贺卡全新上线!