delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.0 required=5.0 tests=BAYES_50 |
X-Spam-Check-By: | sourceware.org |
From: | "Jason Pyeron" <jpyeron AT pdinc DOT us> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Mount of VSS volumes (//?/GLOBALROOT/...) does not work |
Date: | Mon, 11 May 2009 09:26:21 -0400 |
Message-ID: | <8881AD4AE397468EA9277BFB94782F18@phoenix> |
MIME-Version: | 1.0 |
In-Reply-To: | <1KyTLp-1iqKB60@fwd11.aul.t-online.de> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
> -----Original Message----- > From: cygwin-owner at cygwin dot com [mailto:cygwin-owner at > cygwin dot com] On Behalf Of Christian Franke > Sent: Friday, November 07, 2008 10:34 > To: cygwin at cygwin dot com > Subject: Re: Mount of VSS volumes (//?/GLOBALROOT/...) does not work > > Corinna Vinschen wrote: > > On Nov 7 15:41, Christian Franke wrote: > > > > > > The access to the path works, except the access to the > root dir of > > > the volume. It appears as a regular file which apparently > provides > > > raw read access to the partition: > > > > > > $ ls -l '//?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1' > > > -rw-r--r-- 1 ... 0 Dec 1 2006 > //?/.../HarddiskVolumeShadowCopy1 $ > > > xxd '//?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1' > > > 0000000: eb52 904e 5446 5320 2020 2000 0208 0000 .R.NTFS ..... > > > > > > > The windows path handling code in Cygwin doesn't recognize > the path as > > the path to a drive's root dir. The path normalization > code removes > > all trailing backslashes. When accessing a root dir, > Windows requires > > a trailing backslash. When accessing the volume without > the trailing > > backslash, it's opened for raw access. > > > > Now I understand where the problem is. Thanks. > > > > This is still a highly unusual situation from a POSIXy > point of view. > > I'm not sure I want to slow down Cygwin for this any further. It Could this be explained please? > > seems the ability to mount a shadow volume as a dos drive is > > sufficient for this kind of problem, isn't it? > > > > I agree. The dosdev.exe is no longer downloadable from Microsoft. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |