VPB question

Hello,

I have a device e.g. “\Device\Harddisk0\Partition1” wich is drive “C:”.
Under Win2k I can get the VPB pointer, but under NT4 it’s a NULL pointer. I
thought, I could always access the fs device this way (for mounted drives,
of course):

deviceObject->Vpb->DeviceObject

What am I doing wrong?

Thanks in advance
Frank

First, on Win2K, ‘\Device\Harddisk0\Partition1’ is a symbolic link to the
partition device object \Device\Harddisk0\DP(1)-0x7e00… or the like.

Second, file-system drivers no longer mount *partition* device objects
when it comes to ordinary harddisks. Rather, they mount a volume device
object created by FTDISK or DMIO, such as \Device\HarddiskVolume1 or
\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1.


Dave Cox
Hewlett-Packard Co.
HPSO/SMSO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox

-----Original Message-----
From: Friemel, Frank [mailto:xxxxx@gdata.de]
Sent: Friday, November 10, 2000 3:34 AM
To: File Systems Developers
Subject: [ntfsd] VPB question

Hello,

I have a device e.g. “\Device\Harddisk0\Partition1” wich is drive “C:”.
Under Win2k I can get the VPB pointer, but under NT4 it’s a NULL pointer. I
thought, I could always access the fs device this way (for mounted drives,
of course):

deviceObject->Vpb->DeviceObject

What am I doing wrong?

Thanks in advance
Frank


You are currently subscribed to ntfsd as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

> Second, file-system drivers no longer mount *partition* device objects

when it comes to ordinary harddisks. Rather, they mount a volume device
object created by FTDISK or DMIO, such as \Device\HarddiskVolume1 or
\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1.

So, FTDISK is always loaded on w2k - am I right?

Max

Yes, it seems so. I converted by basic disk to dynamic, so the volume
driver is now dmio, but ftdisk is still loaded.


Dave Cox
Hewlett-Packard Co.
HPSO/SMSO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, November 13, 2000 1:49 PM
To: File Systems Developers
Subject: [ntfsd] RE: VPB question

Second, file-system drivers no longer mount *partition* device objects
when it comes to ordinary harddisks. Rather, they mount a volume device
object created by FTDISK or DMIO, such as \Device\HarddiskVolume1 or
\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1.

So, FTDISK is always loaded on w2k - am I right?

Max


You are currently subscribed to ntfsd as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)