Help understanding why a mount command is not working and how to fix it
Andrey Repin
anrdaemon@yandex.ru
Tue Sep 10 09:27:36 GMT 2024
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...
More information about the Cygwin
mailing list