delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/09/10/05:35:58

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 48A9ZvO81223166
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=Zvc5EAkF
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED3293858C41
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1725960956;
bh=QKoYHCluc62N9gkn8zb+aqMUH2xjpUMw+BgDy0rW/dY=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=Zvc5EAkFrHexcJLk1phfMbVSAD1V2X2aFWmAzDNZtQF4YZjRzrS+04hs/x99nZK15
WrvuAi8MSVIuYPacagYpjqxtYTZ0NyXBbHn5ekye2+RZ039307htzx7Qz9kOunoUJn
Lx2lJXQ6FG1Y0pXhqbH98qLsl59fqAGJ0fylIFiM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D86AC3858D39
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D86AC3858D39
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725960905; cv=none;
b=DvdPxzO+cyssv3xJtWYab02KvifEiVVzFsJR2zyXOb1J2ZO5VIuknC4nbGurrNoxWQJnT5GBj5RE+pthDbF22tzuNu2Ba9zlhNX68HAPZhREEHDe9X9tY19ZoW6pHt3CDjvjoBl7G2PpcWJGfMhYbisRTje15EwzPSnisl32Fkg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1725960905; c=relaxed/simple;
bh=/A5FhuM39+ccMp6YOV284j2vFkO83vg/B8x1zsjExcI=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=O43ZflvWiVQDtv1McycUGKRqYULV0rPsDOF04H0ZyMVzkoXGuJUCbagscFWJMkGTToIO6GFO/viHXgzfBg9RMwHJ7ztX7HS28rAxIRWAg/rIsyu4dPTbW9hGwutxkBSTIwxTTnU1NFfSkNvNLLyOIqX+7TS6BOT2byKF1V3mirQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Yandex-Fwd: 1
Date: Tue, 10 Sep 2024 12:27:36 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <24492557.20240910122736@yandex.ru>
To: Eliot Moss <moss AT cs DOT umass DOT edu>, cygwin AT cygwin DOT com
Subject: Re: Help understanding why a mount command is not working and how to
fix it
In-Reply-To: <b681da78-6cf5-7b51-54dd-1b47de99d8a7@cs.umass.edu>
References: <b681da78-6cf5-7b51-54dd-1b47de99d8a7 AT cs DOT umass DOT edu>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_MSPIKE_H2, 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 48A9ZvO81223166

Greetings, Eliot Moss!

> 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

/cygdrive is a system entry point. Manually placing anything there is asking
for trouble down the road.

> However, /cygdrive/o is not created.  Manually doing this:

I've yet to see a system, where `ls -l /cygdrive` lists the drives, but they
do work if pointed directly at.

>    mount -obinary,noacl,posix=0,user "/c/Users/Eliot Moss/OneDrive" /foo

subst O: "C:\Users\Eliot Moss\OneDrive"

Then you could simply access it as /cygdrive/o as you wished.

> results in this output if /foo does not exist:

> mount: warning - /foo does not exist.
> mount: /foo: Invalid argument

> and this output if I do mkdir /foo first:

> mount: /foo: Invalid argument

`-o binary,…`

> Hints on how to make this mount work?


-- 
With best regards,
Andrey Repin
Tuesday, September 10, 2024 11:11:23

Sorry for my terrible english...

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019