Hi,

I'm trying to figure out different behavior of mount and /etc/fstab. I'm
seeing different behavior on two different machines with the same msys2
installtion.

Machine 1:
------------------
- echo "C:/Users /home" >> /etc/fstab
- Restart shell
- "$ mount"
"C:/Users on /home type ntfs (binary,noacl,posix=0)"
--> OK
- "$ umount C:/Users"
"umount: c:/Users: Operation not permitted


Machine 2:
------------------
- echo "C:/Users /home" >> /etc/fstab
- Restart shell
- mounted?:
"$ mount"
No, can't see the mount....however
- Remove "C:/Users /home"  from /etc/fstab
- Restart shell
- Mount
"$ mount C:/Users /home"
"$ mount"
"C:/Users on /home type ntfs (binary,user)"
- Restart shell
- Mounted?
"$ mount"
"C:/Users on /home type ntfs (binary,user)"
--> Mounted

So,
- on "Machine 1", "/etc/fstab" work ok (not sure if umount also should work)
- on "Machine 2", "/etc/fstab" do not work, but instead "mount" is
persistent over restarts.

Although it's the same installer used the bahvior is different, so I'm
guessing that there is something in the environment that
i'm missing, I just can't figure out what it is.

Anyone knows what is going on?

BR
/Marten


Versions:
msys2-x86_64-20190524.exe and msys2-x86_64-20190524.exe + latest

OS:
Windows 10 Pro
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to