delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/27/12:28:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
From: Rob Bosch <rbosch AT ipremise DOT net>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 27 Jul 2009 10:28:30 -0600
Subject: RE: ntfsclone for cygwin 1.7 (issues pointing to shadow copies)
Message-ID: <8597BF9FDA4DB6469F149F4474790C938F63911540@ipmail.iPremise.local>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I was able to get ntfsprogs to compile under cygwin 1.7 after some troubles=
hooting.  I tried to get ntfsclone to point to the //?/GLOBALROOT for a sha=
dow copy.  I know dd can do this.  ntfsclone doesn't appear to be aware of =
these devices and there are no /dev/sd?? associated with them either.  The =
shadow copy can easily be exposed as a drive under Windows using vshadow.  =
Ntfsclone is reporting this drive as being mounted rw when in fact it is ro=
 (shadow copies exposed as drives can only be read-only).  I don't see an o=
ption under mount in 1.7 to manually create a mount point read-only?=20=20

When I do mount the shadow copy it cannot access the global device.  mount =
reports the following:

D:OBALROOT/Device/HarddiskVolumeShadowCopy127 on /mnt/temp type unknown (bi=
nary,posix=3D0,user)

After entering the following command:

mount -o binary,posix=3D0,user,auto //?/GLOBALROOT/Device/HarddiskVolumeSha=
dowCopy126 /mnt/temp

I'm not sure why the result from the mount command shows it as "D:OB".  I'v=
e tried quoting the device in the command line to see if it was interpretin=
g the ? incorrectly.

I'm assuming that the open statement in ntfsclone needs to be modified?  An=
yone have suggestions on how to get ntfsclone to understand something like =
\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy126?  What change was made to=
 dd to allow it to see these shadow copies as devices?

Rob
------------------- original note

Does anyone know of an ntfsclone package that works under 1.7?  I tried com=
piling 2.0 from sourceforge.  I didn't get any errors from ./configure, mak=
e, or make install but the executable doesn't return anything when I run it=
.  ntfsclone --help doesn't return anything either.

I've been using dd with volume shadow copies to capture partitions (very co=
ol direct reference of //?/GLOBALROOT devices!).  I'd prefer to use ntfsclo=
ne for speed.

Rob



--
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

- Raw text -


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