DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 489KeCXi938263
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=Gx0mggHm
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 740BB385C6D1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1725914410;
	bh=nf+K+q9znqu+wnGPrlKSmEoKACjYQ+UC5wRwGUoCyO8=;
	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=Gx0mggHmlpiW9U6YbW0sbF5ov+NKXmU+Eo0/kWGOiFHeKg9tIiPd3PdpTXeVYNUfm
	 7r2dVl4wo2yYRuOMo9tgm8viXsmPDo1/SBpnR7uIop86vgR688qkUVDyN+kn/YqhJp
	 TCsvsb3jrGP13NUYNPp+nBMAY1gXZfjAJhpr0dL8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D48093858D39
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D48093858D39
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725914355; cv=none;
 b=hhHU9dCOj0e6pyzuOgL3C7ma0xgvMMa4UZVB0CzwhVnUubW4S4dxIyuJxtmDgZIFB3d0abeH7oevZYLK9PfFl6XK2Z0Eu2HvLoeYk0jsTMouWKjfn1Ufy+fCwoZ8ZtKJPEvgqnrUDUS0/8Sw25ybzeRR8DhajSApY6AwVXAY1l4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1725914355; c=relaxed/simple;
 bh=PSYfCLBBTnScc/qfrdoh/QC2DqBUPCkhJ1Xu1FRbziU=;
 h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
 b=sAauv29hC+H1I6rxOrmGR4WsHnJXiu9jPPWyKM9KSnLXRONmXvvH22kGwYj6vGFN2qy323YJ5vbS4CIac827iS9mmmqpWzthNNWgjWibfH4hu/HeBjMrzKOcSGd755JeTiPkCE9j58djgUO34MTVFtzTI1BVSulzFmSjcQnQqGM=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725914352; x=1726519152;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Io7rHyZjd+cFQvgrIjVvSQSdwEwhVfNaJ92oQHYBjUA=;
 b=QYYPoVakrfblLvA6GF5igm/20DIdUZlBjCTteiK4v7/00tNu1aFGwUEdndmP0zB/3Z
 IDl1iRcPFJfdljXjaw+5Ox0pHcd7XU9Tmy+eX28fIe9YeCLpvgRzZ36M2fQjnIXoT8zD
 aCkUt7lLMgVLwpWjUA7BohrkQFlYVNY7O1i/md+jHKOyFBp54+a9raB3nnwjdDGrsp32
 /4P9oew3fBdKc4scxeV7gQAV2Rml/z3YsAZbn52yDLxfCK2DRYraswMiPxlKs3PsmvZI
 lsyYrf5INpwYkb7s4seSuXnaVupvgMQRAkyvbb6sJlEt7qQpfLHwVR1zEBfnpaCiLQv1
 I3WA==
X-Gm-Message-State: AOJu0YxWnxFwqCTLxoyGAIREv5mpQ20ABWAZI5n1hJ7hQuvMhiAoz2wE
 n+vbDpWJMUB28+H7uNl1iXxjKNywXIOOSX/5PxLjzNQQWD80xw6026kyUA==
X-Google-Smtp-Source: AGHT+IGrwEQsppw6DBhZqp4NZ75wKinDrRTk7AiExbh629O8arHylxD1hcvvleQU1jU8XEzvXHDsAw==
X-Received: by 2002:a05:6820:2409:b0:5e1:cc7b:606a with SMTP id
 006d021491bc7-5e1e3bdde1cmr433202eaf.1.1725914352185; 
 Mon, 09 Sep 2024 13:39:12 -0700 (PDT)
Message-ID: <5411fb7a-dbb7-41cd-9ace-1cff1f7a85b9@gmail.com>
Date: Mon, 9 Sep 2024 14:39:10 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Help understanding why a mount command is not working and how to
 fix it
To: cygwin <cygwin@cygwin.com>
References: <b681da78-6cf5-7b51-54dd-1b47de99d8a7@cs.umass.edu>
Content-Language: en-US
In-Reply-To: <b681da78-6cf5-7b51-54dd-1b47de99d8a7@cs.umass.edu>
X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
 RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene.berber@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 489KeCXi938263

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
> 


-- 
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

