DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 48DGhxMl3450671 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=iwkkVt1a X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95E12385B508 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1726245837; bh=ASz4FaLOgdvT4gpkw5inIr2p0BRJLuLEA2ANKz39ulE=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=iwkkVt1aGVK9ChuQD2vEfCMMi688OuXYhXsBVPMNXO4QHINhF3zyiOxcCt1Efsda1 Q9bNE+JUlkPuQLQg4DLU39dgfby6kMA64NV6/5ySYFPKYfvK0t2tj01CMcomSZMY+x 39Cil6efizDDMZGnNjErqCxBYJb5JURRNNw2ME+w= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A118C3858C35 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A118C3858C35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726245754; cv=none; b=ht79vjcuWWD5htwm4FcW9jBAM14mVhsTydb0TqfY/juCdon5AvkRrkT5/n1WkdzLfPOBiOrntGlGYBQL+PzyZ4/TuZdFD7SZbylDezUIjQ0mPscrdVbPFF5uRr2O+kqmDn94EBpP/4HPVpAEqBEDWSUh+BRJ5uR6j0i9VRlI0+s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726245754; c=relaxed/simple; bh=euSMLm56Ri0glZcqpQbZPf0vAmH/XeOkOhoabuq2qrM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=ael3hWdFZX6s6Rzj2ersiFAI6T9tRJZjkXuMtc+z9VatY8AGPr4MXIqsRZCd2gaCCTZVWDnW6ork/2WSuaRRlTQiFZpmlNb+si7dPb9zbHuOw468wdeI0AS/016QTH+jyjgHe2dG7EzobHmc0HMf32Iys6IE1gA0ubECwu4LiDM= ARC-Authentication-Results: i=1; server2.sourceware.org X-ASG-Debug-ID: 1726245751-24039d16a31839ab0001-w5GHUG X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136 DKIM-Filter: OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 39AB35BDDE X-Barracuda-RBL-Trusted-Forwarder: 172.27.235.222 Message-ID: Date: Fri, 13 Sep 2024 12:42:30 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: Help understanding why a mount command is not working and how to fix it Content-Language: en-US X-ASG-Orig-Subj: Re: Help understanding why a mount command is not working and how to fix it To: =?UTF-8?Q?Ren=c3=a9_Berber?= , cygwin References: <5411fb7a-dbb7-41cd-9ace-1cff1f7a85b9 AT gmail DOT com> In-Reply-To: <5411fb7a-dbb7-41cd-9ace-1cff1f7a85b9@gmail.com> X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136] X-Barracuda-Start-Time: 1726245751 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at cs.umass.edu X-Barracuda-Scan-Msg-Size: 1595 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.130401 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, JMQ_SPF_NEUTRAL, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Eliot Moss via Cygwin Reply-To: Eliot Moss Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 48DGhxMl3450671 On 9/9/2024 4:39 PM, René Berber via Cygwin wrote: > On 9/9/2024 12:23 PM, Eliot Moss via Cygwin wrote: > >> Dear Cygwiners -- >> >> For convenience, I would like to mount my OneDrive folder under / cygdrive/o. >> >> I put this line in my /etc/fstab: >> >> c:/Users/Eliot\040Moss/OneDrive /cygdrive/o ntfs binary,noacl,posix=0,user 0 0 >> >> However, /cygdrive/o is not created.  Manually doing this: >> >>    mount -obinary,noacl,posix=0,user "/c/Users/Eliot Moss/OneDrive" /foo >> >> results in this output if /foo does not exist: >> >> mount: warning - /foo does not exist. >> mount: /foo: Invalid argument > > Just tested this, I get the warning and /foo is created anyway and the directory is mounted there. > > I do not get the second line (invalid agument). > > Check if mount did its job. > > I'm using ... > > $ mount -V > mount (cygwin) 3.5.4 > Mount filesystem utility > > $ uname -a > CYGWIN_NT-10.0-22631 XPS-8930 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin > >> >> and this output if I do mkdir /foo first: >> >> mount: /foo: Invalid argument >> >> Using \040 instead of the space for the quoted command line argument >> gives the same behavior. >> >> Hints on how to make this mount work? >> >> Best wishes - Eliot Moss >> > > I ended up creating a binding from O: to this network drive: \\localhost\c$\users\Eliot Moss\OneDrive Then drive o appeared in cygdrive. It was the Windows part of this that was obscure. (Seems strange to set up a *network* drive to a local file system.) Best - Eliot -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple