From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4608 invoked by alias); 26 Sep 2012 12:41:21 -0000 Received: (qmail 4599 invoked by uid 22791); 26 Sep 2012 12:41:20 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from usa7109mr003.acs-inc.com (HELO USA7109MR003.ACS-INC.COM) (63.101.151.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 12:41:04 +0000 Received: from usa7109ht003.na.xerox.net ([13.41.230.29]) by USA7109MR003.ACS-INC.COM with ESMTP/TLS/AES128-SHA; 26 Sep 2012 07:41:03 -0500 Received: from USA7109MB022.na.xerox.net ([169.254.6.7]) by USA7109HT003.na.xerox.net ([13.41.230.29]) with mapi id 14.01.0355.002; Wed, 26 Sep 2012 07:41:02 -0500 From: "Nellis, Kenneth" To: "cygwin@cygwin.com" Subject: RE: associating volume labels with drive letters Date: Wed, 26 Sep 2012 13:43:00 -0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A70022CCD@USA7109MB022.na.xerox.net> References: <6CC6471C-FBB4-4980-A667-E83EC841B6A6@mac.com> In-Reply-To: <6CC6471C-FBB4-4980-A667-E83EC841B6A6@mac.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-09/txt/msg00327.txt.bz2 From: Mark O'Keefe > Hi, > > Here is a perl script which I believe should do the trick. > > It adds: (for example) > DRIVE=3D"C:" > to the end of the blkid output where the drive letter matches the correct= drive location. > > Along the same lines I've also played around with a customised version of= cygwin that allows the mount > command to use UUID's to identify the drive letter instead of hard coding= into fstab. This would be useful > if you wanted specific drives to be mounted to specific locations without= dependence on the drive letter. > > I haven't extensively tested this, just quickly put it together to give y= ou the idea. Thanx, Mark. Works great! --Ken Nellis -- 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