delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/09/05:16:24

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Dinwoodie AT metaswitch DOT com>
To: Cygwin-L <cygwin AT cygwin DOT 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 DOT 2010507 AT mailme DOT ath DOT cx> <50EC37EA DOT 8000308 AT etr-usa DOT com> <50EC3D77 DOT 5080804 AT mailme DOT ath DOT cx> <50EC8E7F DOT 4030606 AT etr-usa DOT com>
In-Reply-To: <50EC8E7F.4030606@etr-usa.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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-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


- Raw text -


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