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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=U7HqHKfBwKW+/nsGbe3saOaPcWCqlONW1j21WbF7Tp/vlJhNtSkjz
	bK5YSO4z8rVYvsu934h4fHQTYm+c5TUR/VqeiSZtxULMWvVUfhVaTT+r3gM4AXPx
	UL12OuDXMJaG3QE+KVbe30fkyZdUPv6Nkx1hhqLE6s4bSECdffIMXQ=
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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=Qmy8q+qK0kKVQS/mbOgz7BTmO3Q=; b=E+45qIJD9JwsTBRDM6+V/cCEubC6
	MOydR4Li25qXCxS9uDatc81hQdL21MAe7IiRxUnj4N9JGmjSMV/ayU8OIJcs/am7
	b5atk8k3kc47A/xx7aRTblS+9dZfWwbzK47nGyLqgrHE0Zy7Bp1LIQ33viuJMUx1
	ifvk81trth+rVxY=
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
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,TW_RW,TW_WX,TW_XR autolearn=no version=3.3.1
Date: Tue, 28 May 2013 15:35:14 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Shadowcopy volume block devices
Message-ID: <20130528133514.GJ5264@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAKAA-nncyH+D0RXDQ1KF6xkxSKGPrhodp7tDJTBJLC2-k3L1Jg AT mail DOT gmail DOT com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAKAA-nncyH+D0RXDQ1KF6xkxSKGPrhodp7tDJTBJLC2-k3L1Jg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On May 28 18:21, Micky wrote:
> Seems like the latest Cygwin made some progress in automounting and
> accessing the VSS volumes. i.e. under
> /proc/sys/Device/HarddiskVolumeShadowCopy
> But it doesn't let you access the volumes as block devices. The w32
> name space paths like "\\.\HarddiskVolumeShadowCopy" can be accessed
> at cmd.exe but not in Cygwin.

This is kind of mind-boggling.  If you knew that you could access
HarddiskVolumeShadowCopy using the POSIX path

  /proc/sys/Device/HarddiskVolumeShadowCopy

why didn't you try to use the POSIX path as device name in a call to the
POSIX tool dd, rather than translating it into a Win32 path?  It's clearly
marked as block device in the directory listing:

  $ ls -l /proc/sys/Device/HarddiskVolumeShadowCopy1
  brwxrwx--x 1 Administrators SYSTEM 0, 250 May 28 15:31 HarddiskVolumeShadowCopy1

and here's what I get when running od -c on it as admin:

  $ od -c /proc/sys/Device/HarddiskVolumeShadowCopy1 | head -1
  000 353   R 220   N   T   F   S                  \0 002  \b  \0  \0


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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