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