X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=UhRFIU+4Y95la/x5 EtHzCWzujLEl8rUkLmk23BC0b9xGG52UXeAs2A8bxJgb3XaOic64o6dD7S+6EG9b y2eb2LinsfY8KcYMArL7eMNk5x45bEI2uBLoqYCYc1G1RiwuRGjZ2FUWbpjR9iAt kyfAqyl6d6xdl3HnR3/pv3I2kf4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=LD5PQ+QBkieENV4EkjhYJ/ GyluA=; b=Ex/Rb/tJWEZrqRitqgaG/r9syJBGrQIwoJCDCivPZXi/LB8rx7ZR5W s0mcTLyebD7qbxbOMPpA9A5xjpS7jNGTvG2+qddGa5q6HrU9ll3trMM8obddfPez lspCb4PWoM3NmSUD0gZwtQL5/Sdk51joKfQnEopKUzw0VtX3lhVI4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_1,FSL_HELO_BARE_IP_2,HELO_MISC_IP,KAM_THEBAT,KHOP_THREADED,RDNS_NONE autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Fri, 13 Sep 2013 01:53:34 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <243576293.20130913015334@mtu-net.ru> To: Matthias Meyer , cygwin AT cygwin DOT com Subject: Re: How to read ntfs_reparse_data In-Reply-To: References: <473536895 DOT 20130912015738 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Matthias Meyer! >>> I've installed cygwin 1.7.20 on my Windows7 and try to get reparse data >>> of a junction point: >>> getfattr -h -e hex -n system.ntfs_reparse_data /cygdrive/C/Users/Default\ >>> User but I get an error: >>> /cygdrive/C/Users/Default User: system.ntfs_reparse_data: Not supported >> >>> If I mount the drive in Linux with ntfs-3g it will work. I get: >>> # file: /cygdrive/C/Users/Default User >>> system.ntfs_reparse_data=0x030000a0f00000000000760078006e005c.... >> >>> Anyone knows this "problem"? Is there a(nother) way to get the >>> system.ntfs_reparse_data? Maybee with a windows program? >> >>> I'ld like to restore a junction point within Linux/ntfs-3g. >> >> http://www.cygwin.com/ >> The first four paragraphs. >> TL;DR: You're looking the wrong way. > Thanks for the answer but it doesn't help me ;) Ok, I can give you another answer, more detailed, but I have no idea, how much more usable, as I'm no expert in low-level NTFS specifics. I can imagine Cygwin tools being able to read, store and restore OS-specific file attributes, but I doubt these attributes have any use outside OS. I.e., I was unable to use NTFS junction point under Linux. Junction was to a second partition of the same drive, so there's no possibility of missing partitions or similar mistakes on my part. ntfs-3g just doesn't work the same way, as native Windows NTFS driver. Oh, also... Are you sure you have full low-level access to partition in question? I.e., it is not blocked by antivirus, or UAC? > I would beliefe one of the cygwin libraries must read and interpret the > ntfs_reparse_data because cygwin will display it's content as an posix soft > link. > So it would possible that getfattr can read this data too and the only > reason it don't work for me is a mistake by myself. > What did you mean with "You're looking the wrong way"? What is the rigth > way? -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 13.09.2013, <01:47> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple