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 To: "cygwin AT cygwin DOT com" Date: Mon, 27 Jul 2009 15:48:34 -0600 Subject: RE: ntfsclone for cygwin 1.7 (issues pointing to shadow copies) Message-ID: <8597BF9FDA4DB6469F149F4474790C938F63911563@ipmail.iPremise.local> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 The issue appears to be with ntfsclone in that it must point to something i= n /proc/partitions. It will not work with any /cygdrive/X (used dosdev.c f= rom Corinna and typical vshadow to expose as a drive with no luck). I foun= d this out by commenting out the read-only check and rebuilding ntfsclone/n= tfsinfo. The code apparently uses a win32_io.c file when building on cygwi= n. This file creates its own device mappings (e.g. /dev/hda1 instead of us= ing the existing /dev/sda1). I guess there would be a way to modify it to = use cygwin devices but I don't know how. If shadow copies could be presented as block devices to this library then i= t would open up a lot of possibilities for creating block-level clones of p= artitions without having to boot to a live CD. I guess it is dd piped thro= ugh gzip for now. It sure is a waste when you only have 50GB on a 500GB dr= ive since dd processes the entire drive. Does anyone have anything else to add? I'm guessing not... Rob =20 ------------------- 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