X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Adam Dinwoodie <Adam.Dinwoodie@metaswitch.com>
To: Cygwin-L <cygwin@cygwin.com>
Subject: RE: disk format question
Date: Wed, 9 Jan 2013 10:15:57 +0000
Deferred-Delivery: Wed, 9 Jan 2013 10:15:00 +0000
Message-ID: <CE9C056E12502146A72FD81290379E9A608C3D4E@ENFIRHMBX1.datcon.co.uk>
References: <50EC265F.2010507@mailme.ath.cx> <50EC37EA.8000308@etr-usa.com> <50EC3D77.5080804@mailme.ath.cx> <50EC8E7F.4030606@etr-usa.com>
In-Reply-To: <50EC8E7F.4030606@etr-usa.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r09AGJLA011429

Warren Young wrote:
> If this were Linux, I'd suggest basing your script's logic on device or
> filesystem UUIDs, but I don't know how to do that under Cygwin.

Under Cygwin, you can refer to a device by UUID by looking under the path
/proc/sys/GLOBAL??/ (those are literal question marks; you'll probably need to
escape them in bash).

There's a little more discussion about this directory from Corinna at
<http://cygwin.com/ml/cygwin-developers/2012-10/msg00001.html>.  I've looked
through the UG, and quickly searched Google, and can't find anything more in
depth, though.

-- 
Adam Dinwoodie

Messages posted to this list are made in a personal capacity.



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


