Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Mon May 20, 2013 13:28



Post new topic Reply to topic  [ 2 posts ] 
Getting/setting ntfs reparse data 
Author Message

Joined: Mon Nov 30, 2009 21:35
Posts: 38
Post Getting/setting ntfs reparse data
getxattr currently reports system.ntfs_reparse_data in full binary format, including reparse tag, zero filler, and UTF16 string (possibly double-zero terminated)

Can you provide please an exact data structure in both of cases, for Junction and Symbolics link?
Then, very curious what happens if one decides setting a non existent ntfs_reparse_data, especially for a non-empty directory and/or file?


Thu Dec 24, 2009 17:13
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1008
Post Re: Getting/setting ntfs reparse data
Hi,

Quote:
getxattr currently reports system.ntfs_reparse_data in full binary format, including reparse tag, zero filler, and UTF16 string (possibly double-zero terminated)

Yes.
Quote:
Can you provide please an exact data structure in both of cases, for Junction and Symbolics link?

Microsoft seems to consider information associated with junctions as hush-hush. What I know is at the top of libntfs-3g/reparse.c You can get useful information from http://www.codeproject.com/KB/winsdk/ju ... oints.aspx I have also analyzed the configurations used by Vista, but they do not cover all the possibilities, for instance I do not know what most reparse tag values found on msdn mean. So, if you find some official description, please let me know.
Quote:
Then, very curious what happens if one decides setting a non existent ntfs_reparse_data, especially for a non-empty directory and/or file?

Setting a junction or symlink on a non-empty director or non-void file is forbidden by Microsoft (thank you for reminded me I still have to check that !), but right now I cannot find a reference in the msdn jungle. And if you meant using other types of reparse data, you are on your own.

Regards

Jean-Pierre


Thu Dec 24, 2009 19:23
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.