NFI.EXE syntax?

  • Thread starter Thread starter Mark V
  • Start date Start date
M

Mark V

W2K
Microsoft's NFI.exe utility (3.0.2093.1) offers CLI help which
includes:

=======================
nfi NT-device-path physical-sector-number

Determines which volume a given physical sector on a drive is
within, and then which file on the volume it is in.

NT-device-path is the NT-style path to a physical device.
It must not include a partition specification.

Physical-sector-number is a decimal or 0x-prefixed hex
number, specifying a sector number relative to the physical
drive whose device path is given by NT-device-path.
=======================

The "NT-device-path is the NT-style path to a physical device."
is seeking what syntax/format? Expected strings such as
\device\harddisk0, physicaldrive0 and similar combinations fail as
do \ide\harddisk0 and \\.\ for more examples.

Can anyone supply the expected (by NFI) device path format?
 
Mark said:
W2K
Microsoft's NFI.exe utility (3.0.2093.1) offers CLI help which
includes:
=======================
nfi NT-device-path physical-sector-number

Determines which volume a given physical sector on a drive is
within, and then which file on the volume it is in.

NT-device-path is the NT-style path to a physical device.
It must not include a partition specification.

Physical-sector-number is a decimal or 0x-prefixed hex
number, specifying a sector number relative to the physical
drive whose device path is given by NT-device-path.
=======================
The "NT-device-path is the NT-style path to a physical device."
is seeking what syntax/format? Expected strings such as
\device\harddisk0, physicaldrive0 and similar combinations fail as
do \ide\harddisk0 and \\.\ for more examples.

Can anyone supply the expected (by NFI) device path format?

Maybe the ARC syntax (as in BOOT.INI)? See
<http://support.microsoft.com/default.aspx?scid=kb;en-us;q102873> for
some examples.
 
Mark said:
Good guess, but apparently not. Like many other attempts this
returns to the help screen (or some other cases reports "... is not
a legal device name.")

Try "\device\harddisk1\dr1" (without the quotes).
 
[ ]
The "NT-device-path is the NT-style path to a physical
device." is seeking what syntax/format? Expected strings
such as
\device\harddisk0, physicaldrive0 and similar combinations [ ]
Can anyone supply the expected (by NFI) device path format?
Maybe the ARC syntax (as in BOOT.INI)? See
[ ]
Try "\device\harddisk1\dr1" (without the quotes).

Was that a guess? Good guess!

nfi \device\harddisk0\dr0 0xfffe (for example)
Works!
Thank you. I do not recall having ever seen such format used before,
anywhere...writing it down...

If you had an observation, document source or other reason for
suggesting it, I'd be interested in the source of your knowledge (or
guess inspiration). :-)
Thanks again!
 
Mark said:
[ ]
The "NT-device-path is the NT-style path to a physical
device." is seeking what syntax/format? Expected strings
such as
\device\harddisk0, physicaldrive0 and similar combinations [ ]
Can anyone supply the expected (by NFI) device path format?
Maybe the ARC syntax (as in BOOT.INI)? See
[ ]
Try "\device\harddisk1\dr1" (without the quotes).

Was that a guess? Good guess!

nfi \device\harddisk0\dr0 0xfffe (for example)
Works!
Thank you. I do not recall having ever seen such format used before,
anywhere...writing it down...

Yeah, good luck trying to find documentation on how this is enumerated.
Google didn't return anything useful.
If you had an observation, document source or other reason for
suggesting it, I'd be interested in the source of your knowledge (or
guess inspiration). :-)

I remembered seeing this in Event Viewer when my SCSI controller
hiccups, as in:

Event Type: Error
Event Source: Disk
Event Category: None
Event ID: 11
Date: 9/23/2005
Time: 7:28:13 AM
User: N/A
Computer: xxx
Description:
The driver detected a controller error on \Device\Harddisk0\DR0.
Thanks again!

See you in Steve's newsgroups. :)
 
In said:
Mark said:
In said:
Mark V wrote:
In microsoft.public.win2000.cmdprompt.admin wadester wrote:

Mark V wrote:
W2K
Microsoft's NFI.exe utility (3.0.2093.1) offers CLI help
which includes:
=======================
nfi NT-device-path physical-sector-number
[ ]
The "NT-device-path is the NT-style path to a physical
device." is seeking what syntax/format? Expected strings
such as
\device\harddisk0, physicaldrive0 and similar combinations [ ]
Can anyone supply the expected (by NFI) device path format?
Maybe the ARC syntax (as in BOOT.INI)? See
[ ]
Good guess, but apparently not. Like many other attempts
this returns to the help screen (or some other cases reports
"... is not a legal device name.")
Try "\device\harddisk1\dr1" (without the quotes).

Was that a guess? Good guess!

nfi \device\harddisk0\dr0 0xfffe (for example)
Works!
Thank you. I do not recall having ever seen such format used
before, anywhere...writing it down...

Yeah, good luck trying to find documentation on how this is
enumerated. Google didn't return anything useful.

Same nil results. Maybe it will now...in the GGroups. said:
If you had an observation, document source or other reason for
suggesting it, I'd be interested in the source of your
knowledge (or guess inspiration). :-)

I remembered seeing this in Event Viewer when my SCSI controller
hiccups, as in:

Event Type: Error
Event Source: Disk [ ]
The driver detected a controller error on \Device\Harddisk0\DR0.

Ah ha! Thanks.
See you in Steve's newsgroups. :)

You must have missed the OP for NFI over there... :-)
 
Back
Top