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=Hr5ERly6CE3Jp8JF OwujxYcnfk1mgCHp5YEoxMQfna+a1wRy5WOiGfwF0SBjEQcwYAZ/0Ngd45JAeR4T 5aLzsElCKZltgmX/rLrHxj78otb/qw1IL/Dd3fs3YRl4Cud8KWtmigh4A9IVn3mF jKaymdzuYGXl19y/tfou4BFZVto= 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=7QIBPxWT4lwC+aDepW58lN YPbhI=; b=WeKrFWDkSdOqnCsj0eS/89lEFlo4rSBiRUfhhiHeBndJfLEtuto9gg 4a0pkCpW/nsAzdVsYNJGI46wjgtYLa50a9UpmWfUmqTiWp7NJ+2F3yOb2A85Dr+p qyJBl5bKznT/tyssLeRu6Q0uWsz1CWtWhYETyQ60Wii37kxsFvgeo= 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-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=mounts, media X-HELO: mailsrv.cs.umass.edu Reply-To: moss AT cs DOT umass DOT edu 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> <7bc5b8ec-99dd-cb67-4c04-f2a26cf0e87d AT SystematicSw DOT ab DOT ca> <67249f42-3e4b-6102-b33b-073b6fb9db84 AT cs DOT umass DOT edu> From: Eliot Moss Message-ID: <01d0dcff-46fc-160e-e2a1-dfbc65ed9829@cs.umass.edu> Date: Mon, 23 Dec 2019 09:35:28 -0500 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 12/23/2019 3:55 AM, Brian Inglis wrote:> On 2019-12-22 20:16, Eliot Moss wrote: >> >> So can a \\?\Volume{...} guid name for a volume be used in Cygwin's fstab? >> What would the syntax be like for that? > > Each entry must be on a single line: > > #|/bin/cygwin1.dll > # /etc/fstab - https://cygwin.com/cygwin-ug-net/using.html#mount-table > # dump dump > # mixed path file vfstype mntops freq passno > #C:/cygwin64 / ntfs auto,binary 1 1 > #C:/cygwin64/bin /usr/bin ntfs auto,binary 1 1 > #C:/cygwin64/lib /usr/lib ntfs auto,binary 1 1 > #C: /cygdrive/c ntfs auto,binary,posix=0,noumount, > user 1 1 > #none /cygdrive cygdrive auto,binary,posix=0, > user 0 0 > #none /tmp usertemp binary,posix=0 0 0 > //?/Volume{...} /media/name fat|ntfs [no]acl*,binary*|text,bind,dos, > [cyg|not]exec,ihash,override, > posix=0|1*,sparse,[no]umount*, > [no*]user 0 0 > # defaults flagged * Thank you, Brian. I have tried this: none /cygdrive cygdrive binary,posix=0,user 0 0 //?/Volume{13cb9114-4267-4a7b-8c14-2cbc4bbeecad} /media/backup ntfs noacl,binary,posix=0,user 0 0 The uid is what is shown in /proc/sys/GLOBAL??/Volume{...} and /media exists. mount -a says: mount: /media/backup: Invalid argument I tried also creating an empty directory /media/backup, with the same result. The drive sill mounts automatically on /cygdrive/d (as I would expect). Thoughts? Eliot -- 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