Linux-CIFS Archive on lore.kernel.org
 help / color / Atom feed
* FileIndex in FSCC FileIdFullDirectoryInformation
@ 2019-12-03  3:07 ronnie sahlberg
  0 siblings, 0 replies; only message in thread
From: ronnie sahlberg @ 2019-12-03  3:07 UTC (permalink / raw)
  To: Interoperability Documentation Help, linux-cifs

Hi Dochelp,

I am looking at MS-FSCC for the FileIdFullDirectoryInformation
responses.
The description of FileIndex is as:
===
FileIndex (4 bytes): A 32-bit unsigned integer that contains the byte
offset of the file within the
parent directory. For file systems in which the position of a file
within the parent directory is not
fixed and can be changed at any time to maintain sort order, this
field SHOULD be set to 0 and
MUST be ignored.<107>

Footnote for <107> is :
===
<107> Section 2.4.18: When using NTFS, the position of a file within
the parent directory is not fixed
and can be changed at any time. Windows 2000, Windows XP, Windows
Server 2003, Windows Vista,
Windows Server 2008, Windows 7, and Windows Server 2008 R2 set this
value to zero for files on
NTFS file systems.


Is this list of OSs where FileIndex == 0 for NTFS complete?
I am testing against Windows2016 with a share on NTFS and it returns
FileIndex==0 also.
Can you check and clarify?


regards
ronnie sahlberg

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03  3:07 FileIndex in FSCC FileIdFullDirectoryInformation ronnie sahlberg

Linux-CIFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-cifs/0 linux-cifs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-cifs linux-cifs/ https://lore.kernel.org/linux-cifs \
		linux-cifs@vger.kernel.org
	public-inbox-index linux-cifs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-cifs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git