delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
From: | "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: associating volume labels with drive letters |
Date: | Wed, 26 Sep 2012 12:41:01 +0000 |
Message-ID: | <0D835E9B9CD07F40A48423F80D3B5A70022CCD@USA7109MB022.na.xerox.net> |
References: | <6CC6471C-FBB4-4980-A667-E83EC841B6A6 AT mac DOT com> |
In-Reply-To: | <6CC6471C-FBB4-4980-A667-E83EC841B6A6@mac.com> |
MIME-Version: | 1.0 |
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 q8QCfQu6005455 |
From: Mark O'Keefe > Hi, > > Here is a perl script which I believe should do the trick. > > It adds: (for example) > DRIVE="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 you the idea. <snip> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |