delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=Iqpbc/dSI15wbKaP | |
H60wvszMLdG2DOMqmL6tDDSeBYAAePeqfNG4PAf3GqiGiESS5DX4e4trCxERWlG8 | |
AGBG0VQzVCSTXOtcd7zt4BhZJXsHlD5wHMQEs0yg43iJy3ivh70gd3Un2p7asLOi | |
a2NyRy59EgTv2uG9Wi3nK3S77iY= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=hJV6dzCBYMtXyeAgz+3Uu+ | |
hiQ34=; b=ToK4gBm3CY2i4YpqUMQ9eF4TL8Bv2WfZMYikB8Ym4Soll5ykUfRp8B | |
1kcP4aiDAWMwKL/5RQ06cNAUEFER0xuGhAPUyG7pHyFM1ho6YDzJNam7dp24eRM7 | |
VRqWEzNaNq5IVSddI/e3iw1Rt2dPQZ4flcMeRGSHUIKgfBDqUTsIQ= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=oem, OEM, letter, Management |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: A permissions puzzle |
To: | cygwin AT cygwin DOT com |
References: | <23ecb190-1382-ed1e-20f2-93b44ddf641f AT cs DOT umass DOT edu> <273794590 DOT 20191221174843 AT yandex DOT ru> <5a63e3e3-6157-e3f4-8bce-e2c671647604 AT cs DOT umass DOT edu> <84255768 DOT 20191222153427 AT yandex DOT ru> <1f368338-73a4-66a5-88c9-67c06071dc1c AT cs DOT umass DOT edu> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <7bc5b8ec-99dd-cb67-4c04-f2a26cf0e87d@SystematicSw.ab.ca> |
Date: | Sun, 22 Dec 2019 13:43:44 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
MIME-Version: | 1.0 |
In-Reply-To: | <1f368338-73a4-66a5-88c9-67c06071dc1c@cs.umass.edu> |
X-IsSubscribed: | yes |
On 2019-12-22 06:08, Eliot Moss wrote: > On 12/22/2019 7:34 AM, Andrey Repin wrote: > >> Drive has specific network path, use it. > > Thank you, Andrey, but with (admittedly minimal) searching and > playing around, I could not figure out how to determine what > that path is. This is a locally attached (USB) external drive. > And I may be on networks where network discovery is not wise ... https://www.online-tech-tips.com/computer-tips/how-to-change-the-drive-letter-in-windows-xp-for-an-external-usb-stick-or-hard-drive/ With drive inserted, run: Computer Management/Storage/Disk Management/select Removable Drive/context menu Change Drive Letter and Paths/Change button/either select Assign...letter/select letter/or select Mount in...folder/browse or type path to an empty folder/OK/OK. List by volume label: $ wmic logicaldisk where "VolumeName='LABEL'" list brief DeviceID DriveType FreeSpace ProviderName Size VolumeName D: 3 797638373376 999007711232 LABEL > Is there a canonical network name for a locally attached drive with a > particular label? Windows doesn't really use labels, but there is a local volume GUID: $ mountvol # lists all volume paths \\?\Volume{...}\ $ l /proc/sys/GLOBAL\?\?/Volume\{...\}/ '$Recycle.Bin'/ PerfLogs/ swapfile.sys 'Documents and Settings'@ 'Program Files'/ 'System Volume Information'/ hiberfil.sys 'Program Files (x86)'/ Users/ OEM/ ProgramData/ Windows/ PageFile.sys Recovery/ $ l /proc/cygdrive/d/ '$Recycle.Bin'/ PerfLogs/ swapfile.sys 'Documents and Settings'@ 'Program Files'/ 'System Volume Information'/ hiberfil.sys 'Program Files (x86)'/ Users/ OEM/ ProgramData/ Windows/ PageFile.sys Recovery/ $ cmd /c 'dir /a \\?\Volume{...}\' Volume in drive \\?\Volume{...} is LABEL Volume Serial Number is XXXX-XXXX Directory of \\?\Volume{...} 2018-09-21 15:26 <DIR> $Recycle.Bin 2018-09-19 15:09 <JUNCTION> Documents and Settings [C:\Users] 2018-09-21 11:13 7,448,412,160 hiberfil.sys 2018-09-20 13:23 <DIR> OEM 2019-12-07 04:06 8,589,934,592 PageFile.sys 2018-04-11 16:38 <DIR> PerfLogs 2018-09-20 19:51 <DIR> Program Files 2018-09-20 19:51 <DIR> Program Files (x86) 2018-09-20 18:13 <DIR> ProgramData 2018-09-20 17:53 <DIR> Recovery 2018-09-21 11:01 268,435,456 swapfile.sys 2018-12-04 17:56 <DIR> System Volume Information 2019-03-20 07:49 <DIR> Users 2018-09-20 18:09 <DIR> Windows 3 File(s) 16,306,782,208 bytes 11 Dir(s) 0 bytes free -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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 |