delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/23/15:53:14

Message-Id: <200607231953.k6NJrBt7020569@delorie.com>
X-Spam-Check-By: sourceware.org
From: "Herb Martin" <HerbM AT learnquick DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Can NTFS junctions be listed?
Date: Sun, 23 Jul 2006 14:52:48 -0500
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
In-Reply-To: <44C3B50D.2030004@gmx.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> Is there a utility for cygwin that can list NTFS junction points?  
> Perhaps an option for find?  I am interested in junctions 
> that are not 
> on the same partition.
> 
> It appears that junctions from sysinternals.com gets an invalid 
> instruction when run my Athlon XP machine.

I don't know the answer to your question, and it
is quite possible that you have thought of the 
following but it's better if you decide if it is
useful:

You might try a couple of the built-in, Reskit or
support tools:

"Dir /ad" (attribute directory) will find junctions
or reparse points which you could parse with Perl
(etc) and feed to either LinkD.exe or FSUtil.exe
such, e.g.:

  fsutil reparsepoint query c:\prog

(...and you would need to further parse the output 
to do anything useful probably.)

Problem is that the tools that "know" about junctions
don't search for them so you have to use something like
"dir" to first find them so it is a bit ugly.

--
Herb Martin, MCSE, MVP
HerbM AT LearnQuick DOT Com http://LearnQuick.Com
512 388 7339   -or-   1 800 MCSE PRO
Accelerated MCSE in a Week Seminars 

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of John and Holly Klug
> Sent: Sunday, July 23, 2006 12:43 PM
> To: cygwin AT cygwin DOT com
> Subject: Can NTFS junctions be listed?
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019