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:from:reply-to:to:subject:message-id:date :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=rQ5Qg/HdP3YZBKLMl7JFMrzdfR3HDjNyxt8Yj8UWEmcp4UFoQBSsb p3I+HFGi2EqkiL5hIHolsKVShkDts2h4wokxWBxjvdgWYYiUcHcWDwLmfDaR0lie ZDJXXVe+haNeI/UE8CqlOZICl1Dig+s0d0qEtNekP7pAhv3pLevUHw= 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:from:reply-to:to:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=default; bh=cMUpUcSNRYDzP+iUihWwZpZ58Vc=; b=W1HN+KVp/YTIp8jvcXULfG7MbLmo i0c5Yt8HOTck3lqSeG8aFKrXtXVWZMwzPLQ5USnq8M7WTdyE3IvXV4KBbHxw7t1/ f7nSytz8Pgvm5Zr09cwTwXFMcVT3XvX5mab8pO1njadZK7ZRCWddiqM00Imzjhzt 0Y38PVeZrIuyEPU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Volume, mounting, H*r:sk:mail-pg, Bash X-HELO: mail-pg0-f46.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:reply-to:to:subject:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=3gmPaYSnp1A8+3eqQ/LBGIy+TnVi4/zvb0MBdRxF3L4=; b=XmST6z2QdykFuuOJmXl7usDbcqoeN0z+o3pcrFe/3/Exy3TXUNpa3X7pWeagUzO+tS 4FVkiqT7wf916C2W+UGTHf2xfJuoaGKrfyXV1YMmfqRI7Y74H0/0FwUOikUNXVb5DxdX FOX3znRavuONww22/AIX6ekQEr2yvaboXLCTLUfqfMgmfdR8Brk061Zf5g5Hoa5H/qWS geBkjToXDgEM5UEbKOoTo5nyX9mE3OhPirAg6RBa0HDVzjIWa8qdNPxpP1BU1Zj5gvaY w3wXAeWCt3epj9qM7FwjVhroMyZ/y6zgkxCtJ+zwAD082Msre4Ht5HlgMkWpf1eeEBVX gyPg== X-Gm-Message-State: AMke39kxcnel9cU4LoJAp39l78ftjW06EQ1Zy9zUE0OQu71z2Bk6tXKy06GpIEVrlKLyaA== X-Received: by 10.99.134.199 with SMTP id x190mr40026847pgd.68.1487172640357; Wed, 15 Feb 2017 07:30:40 -0800 (PST) From: "Matt D." X-Google-Original-From: "Matt D." Reply-To: codespunk+cygwin AT gmail DOT com To: cygwin AT cygwin DOT com Subject: Cannot access volumes mounted with 'mklink /d' which point to a volume UUID Message-ID: <58A4741E.5020408@gmail.com> Date: Wed, 15 Feb 2017 07:30:38 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On Windows you can create symbolic links which point to volume UUIDs as a way of mounting and unmounting them without having to use the administrative disk management tools. For example, in cmd: mountvol ... \\?\Volume{079b79c9-0000-0000-0000-100000000000}\ C:\ ... mklink /d test \\?\Volume{079b79c9-0000-0000-0000-100000000000}\ ... dir test I call mounvol to get a list of volumes and create a symbolic link 'test' which points to the C:\ UUID. When I then 'dir test' it will list all files on that volume. If I try to access it through Cygwin Bash I get the following error: $ dir test/ dir: cannot access 'test/': No such file or directory This makes it difficult to work with unmounted volumes as it's not always possible to access the administrative disk management snap-in and the mountvol/mklink has always been my go-to for this type of functionality. It would be great if Cygwin would support it. Matt D. -- 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