From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109992 invoked by alias); 15 Feb 2017 15:30:46 -0000 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 Received: (qmail 109833 invoked by uid 89); 15 Feb 2017 15:30:43 -0000 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 Received: from mail-pg0-f46.google.com (HELO mail-pg0-f46.google.com) (74.125.83.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Feb 2017 15:30:41 +0000 Received: by mail-pg0-f46.google.com with SMTP id z67so5897235pgb.1 for ; Wed, 15 Feb 2017 07:30:41 -0800 (PST) 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) Received: from [10.0.1.111] (ip72-209-49-95.ri.ri.cox.net. [72.209.49.95]) by smtp.gmail.com with ESMTPSA id n8sm8366526pgc.16.2017.02.15.07.30.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 07:30:39 -0800 (PST) From: "Matt D." X-Google-Original-From: "Matt D." Reply-To: codespunk+cygwin@gmail.com To: cygwin@cygwin.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 15:30:00 -0000 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 X-SW-Source: 2017-02/txt/msg00200.txt.bz2 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