NFI.EXE syntax?

October 02nd, 2005 - 09:47 am ET by Mark V | Report spam
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?
email Follow the discussionReplies 6 repliesReplies Make a reply

Similar topics

Replies

#1 wadester
October 05th, 2005 - 11:01 pm ET | Report spam
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

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/defaul...102873> for
some examples.
Replies Reply to this message
#2 Mark V
October 06th, 2005 - 06:37 am ET | Report spam
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

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/defaul...102873>
for some examples.



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.")
Replies Reply to this message
#3 wadester
October 06th, 2005 - 10:36 pm ET | Report spam
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

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/defaul...102873>
for some examples.



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).
Replies Reply to this message
#4 Mark V
October 07th, 2005 - 02:09 am ET | Report spam
In microsoft.public.win2000.cmdprompt.admin wadester wrote:

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...

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!
Replies Reply to this message
#5 wadester
October 07th, 2005 - 11:49 am ET | Report spam
Mark V wrote:
In microsoft.public.win2000.cmdprompt.admin wadester wrote:

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.

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. :)
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search