Help understanding why a mount command is not working and how to fix it

Eliot Moss moss@cs.umass.edu
Mon Sep 9 18:23:44 GMT 2024


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

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


More information about the Cygwin mailing list