mount nfsdir ; cd /cygdrive/y ; ls -l ; cd / ; umount nfsdir # causes kernel VNetRoot to be stuck...

2024-07-04 Thread Roland Mainz via Cygwin
Hi! - AFAIK we found a resource or Win32 object refcount leak: If I do a $ mount nfsdir_as_Y ; cd /cygdrive/y ; ls -l ; cd / ; umount Y: #, the the VNetRoot used by the filesystem's kernel module is not finalised (e.g. |MRxFinalizeVNetRoot()| is not being called). If I do the same with just

[PATCH v2] Cygwin: /proc//mount*: escape strings.

2024-06-04 Thread Jeremy Drake via Cygwin-patches
In order for these formats to be machine-parseable, characters used as delimiters must be escaped. Linux escapes space, tab, newline, backslash, and hash (because code that parses mounts/mtab and fstab would handle comments) using octal escapes. Replicate that behavior here. Addresses:

[PATCH] Cygwin: /proc//mount*: escape strings.

2024-06-04 Thread Jeremy Drake via Cygwin-patches
In order for these formats to be machine-parseable, characters used as delimiters must be escaped. Linux escapes space, newline, backslash, and hash (because code that parses mounts/mtab and fstab would handle comments) using octal escapes. Replicate that behavior here. Addresses:

Re: mount points with whitespace are not escaped

2024-06-03 Thread Jeremy Drake via Cygwin
On Mon, 3 Jun 2024, Jeremy Drake via Cygwin wrote: > /proc/self/mounts and /proc/self/mountinfo use octal escapes for ' ' and > \n (I was rather surprised they didn't escape \r also, but I guess they > don't have to because only ' ' and \n are used as delimiters): Went looking at Linux source

mount points with whitespace are not escaped

2024-06-03 Thread Jeremy Drake via Cygwin
Steps to reproduce: $ mkdir /$'My New\r\nFolder' $ mount c: /$'My New\r\nFolder' $ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary,auto) C: on /My New Folder type ntfs (binary,user) $ cat /proc/self

Re: Issue with cygdrive mount, native symlinks, and noacl option

2024-04-26 Thread Andrey Repin via Cygwin
(not what is reported by Cygwin) > 3. I issue the rsync with something like: rsync -avSHP /f/some-dir/ > /s/some-dir/ > The issue here is that it appears mount related options such as noacl are > evaluated differently when native symlinks are used. If I change the > destinatio

Issue with cygdrive mount, native symlinks, and noacl option

2024-04-24 Thread Christopher Layne via Cygwin
rwxrwxrwx 1 clayne None 11 Apr 24 12:24 /s -> /cygdrive/s 3. I issue the rsync with something like: rsync -avSHP /f/some-dir/ /s/some-dir/ The issue here is that it appears mount related options such as noacl are evaluated differently when native symlinks are used. If I change the desti

Re: Cygwin mount limited to 64 mounts, even for UNC paths?

2023-12-01 Thread Corinna Vinschen via Cygwin
On Dec 1 04:55, Andrey Repin via Cygwin wrote: > Greetings, Martin Wege! > > > Cygwin mount(1) is (per docs) limited to 64 mounts. Why was that > > limitation chosen, and does it apply even if I create bind mounts to > > UNC paths (not DOS letters)? DOS let

Re: Cygwin mount limited to 64 mounts, even for UNC paths?

2023-11-30 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! > Cygwin mount(1) is (per docs) limited to 64 mounts. Why was that > limitation chosen, and does it apply even if I create bind mounts to > UNC paths (not DOS letters)? DOS letters might be restricted by the > ASCII A-Z, but UNC paths are unlimited. More

Cygwin mount limited to 64 mounts, even for UNC paths?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Cygwin mount(1) is (per docs) limited to 64 mounts. Why was that limitation chosen, and does it apply even if I create bind mounts to UNC paths (not DOS letters)? DOS letters might be restricted by the ASCII A-Z, but UNC paths are unlimited. Thanks, Martin -- Problem reports

Mount Windows share for all users?

2023-08-17 Thread Cedric Blancher via Cygwin
Good evening! Can I mount a Windows share (CIFS, builtin Windows, ms-nfsv41, ...) at Windows 10 system boot time, so all users (and Cygwin sessions) can use it? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-14 Thread Corinna Vinschen via Cygwin
On Aug 11 17:37, Cedric Blancher via Cygwin wrote: > On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen > wrote: > > > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > > Good afternoon! > > > > > > How do I set mount posix=1 option for an exi

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-11 Thread Cedric Blancher via Cygwin
On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen wrote: > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > Good afternoon! > > > > How do I set mount posix=1 option for an existing bind mount? mount -o > > remount does not work. > > Did you read https:/

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-08 Thread Corinna Vinschen via Cygwin
On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > Good afternoon! > > How do I set mount posix=1 option for an existing bind mount? mount -o > remount does not work. Did you read https://cygwin.com/cygwin-ug-net/mount.html? Mount points created by mount(1) only exist in the

how to set mount posix=1 option for an existing bind mount?

2023-08-08 Thread Cedric Blancher via Cygwin
Good afternoon! How do I set mount posix=1 option for an existing bind mount? mount -o remount does not work. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https

Re: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-04 Thread Brian Inglis via Cygwin
version 4 client daemon: ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 3620 --uid 3620 4. Mount NFS version 4 directory: ms-nfs41-client-x64/ms-nfs41-client-x64/nfs_mount.exe -p -o sec=sys X 'lordbatman.bias.dfn.de:/export/home/mlw' Expectation: Cygwin ls -l should list file user/group as mlw/m

Re: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
reproduce: > > 1. Download and install cygwin. > > 2. Download http://www.citi.umich.edu/projects/nfsv4/windows/120612/ > > and install it. > > 3. Start NFS version 4 client daemon: > > ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 3620 --uid 3620 > >

Re: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
rt NFS version 4 client daemon: > ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 3620 --uid 3620 > 4. Mount NFS version 4 directory: > ms-nfs41-client-x64/ms-nfs41-client-x64/nfs_mount.exe -p -o sec=sys X > 'lordbatman.bias.dfn.de:/export/home/mlw' > > Expectation: > Cygwin l

ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
20) Steps to reproduce: 1. Download and install cygwin. 2. Download http://www.citi.umich.edu/projects/nfsv4/windows/120612/ and install it. 3. Start NFS version 4 client daemon: ms-nfs41-client-x64/nfsd_debug.exe -d 3 --noldap --gid 3620 --uid 3620 4. Mount NFS version 4 directory: ms-nfs41-client-x6

Automounter in Cygwin to mount NFS home dir on demand ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Does Cygwin have something like a Solaris/Linux autofs-style automounter ? The idea is to mount NFS home dirs automagically the first time someone uses them, e.g. $ cd /home/chickenmonster/ # automagically mounts NFS dir mymonsternfs:/export/home/chickenmonster/ Bye, Roland

Re: [bug?] cygwin cannot mount smb shares beginning with underscore; "Invalid argument"

2023-01-23 Thread Corinna Vinschen via Cygwin
On Jan 22 12:56, Brian Inglis via Cygwin wrote: > On 2023-01-22 12:21, Corinna Vinschen via Cygwin wrote: > > On Jan 21 11:30, Jeremy Hetzler via Cygwin wrote: > > > First, thank you for many years of Cygwin. > > > > > > I'm unable to get Cygwin to moun

Re: [bug?] cygwin cannot mount smb shares beginning with underscore; "Invalid argument"

2023-01-22 Thread Jeremy Hetzler via Cygwin
t; >> I'm unable to get Cygwin to mount Windows SMB shares where the share > >> name begins with underscore. mount gives an error "Invalid argument". > > > > Yes, that's actually a bug. The mount code path in Cygwin checks > > the path for being a share (i.e. \

Re: [bug?] cygwin cannot mount smb shares beginning with underscore; "Invalid argument"

2023-01-22 Thread Brian Inglis via Cygwin
On 2023-01-22 12:21, Corinna Vinschen via Cygwin wrote: On Jan 21 11:30, Jeremy Hetzler via Cygwin wrote: First, thank you for many years of Cygwin. I'm unable to get Cygwin to mount Windows SMB shares where the share name begins with underscore. mount gives an error "Invalid argument&qu

Re: [bug?] cygwin cannot mount smb shares beginning with underscore; "Invalid argument"

2023-01-22 Thread Corinna Vinschen via Cygwin
On Jan 21 11:30, Jeremy Hetzler via Cygwin wrote: > All, > > First, thank you for many years of Cygwin. > > I'm unable to get Cygwin to mount Windows SMB shares where the share > name begins with underscore. mount gives an error "Invalid argument". Yes, that's act

Re: Cygwin mount option -s is not supported

2020-11-27 Thread Brian Inglis
On 2020-11-26 04:12, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: -Original Message- From: Cygwin On Behalf Of Brian Inglis Sent: 25 November 2020 21:59 On 2020-11-25 11:26, Vlado via Cygwin wrote: On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: Mount -s was removed in 2008

RE: Cygwin mount option -s is not supported

2020-11-26 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> -Original Message- > From: Cygwin On Behalf Of Brian Inglis > Sent: 25 November 2020 21:59 > > On 2020-11-25 11:26, Vlado via Cygwin wrote: > > On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > Mount -s was removed in 2008: > https:

Re: Cygwin mount option -s is not supported

2020-11-25 Thread Brian Inglis
On 2020-11-25 11:26, Vlado via Cygwin wrote: On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: Mount -s was removed in 2008: https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=5f853b3fc5277da8cb5ba3ac7406447fe82e65de three months after it was set to be ignored

Re: Cygwin mount option -s is not supported

2020-11-25 Thread Vlado via Cygwin
On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: - if [ -n "`uname -s |grep -i cygwin_`" ]; then # If we are on an new version of Cygnus we need to turn :/ in # the path to/cygdrive// CYGDRIVE=`mount -p | tail -1 | awk '{print $1}' |

Cygwin mount option -s is not supported

2020-11-25 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
by running: - $ ./oracle_common/common/bin/config.sh mount: unknown option -- s Try `mount --help' for more information. Error: Could not find or load main class com.oracle.cie.wizard.WizardController - The problem is located in the following script: oracle_common/common/bin/commBaseEnv.sh: - if [

Re: test -r or -x always return false on an NFS mount?

2020-10-15 Thread Corinna Vinschen
On Oct 14 16:57, Mario Emmenlauer wrote: > On 14.10.20 13:50, Corinna Vinschen wrote: > > On Oct 14 11:06, Mario Emmenlauer wrote: > >> On 14.10.20 10:28, Corinna Vinschen wrote: > >>> Actually, not really. It's weird in fact, given ls(1) shows the > >>> desired result. That would point to a bug

Re: test -r or -x always return false on an NFS mount?

2020-10-14 Thread Mario Emmenlauer
On 14.10.20 13:50, Corinna Vinschen wrote: > On Oct 14 11:06, Mario Emmenlauer wrote: >> On 14.10.20 10:28, Corinna Vinschen wrote: >>> Actually, not really. It's weird in fact, given ls(1) shows the >>> desired result. That would point to a bug in access(2), but there's >>> no special code in

Re: test -r or -x always return false on an NFS mount?

2020-10-14 Thread Corinna Vinschen
On Oct 14 11:06, Mario Emmenlauer wrote: > On 14.10.20 10:28, Corinna Vinschen wrote: > > Actually, not really. It's weird in fact, given ls(1) shows the > > desired result. That would point to a bug in access(2), but there's > > no special code in access(2) for NFS. For filesystems not

Re: test -r or -x always return false on an NFS mount?

2020-10-14 Thread Mario Emmenlauer
On 14.10.20 10:28, Corinna Vinschen wrote: On Oct 13 21:00, Mario Emmenlauer wrote: On 13.10.20 20:36, Corinna Vinschen wrote: Everything seems to work quite well, and in `ls -la` I can see the file permissions and user and group entries. But when using `test` to check for read (`test -r`) or

Re: test -r or -x always return false on an NFS mount?

2020-10-14 Thread Corinna Vinschen
ths ago. > > I did use a script to install Cygwin via its installer in an automated > fashion, but I've run the normal, graphical installer a few times since > then to make sure everything is nice and clean. > > Calling "which test" shows "/usr/bin/test", but since I use

Re: test -r or -x always return false on an NFS mount?

2020-10-13 Thread Mario Emmenlauer
only "weak link" in my setup is the NFS mount. I'm no expert in exporting NFS, nor in mounting NFS from Windows. Maybe something is fishy there, albeit I did not use any special parameters or quirks (again, to the best of my knowledge). What I can say is that I'm limited to NFS v3 since

Re: test -r or -x always return false on an NFS mount?

2020-10-13 Thread Corinna Vinschen
On Oct 6 18:10, Mario Emmenlauer wrote: > > Dear Andrey, > > On 06.10.20 17:46, Andrey Repin wrote: > > Greetings, Mario Emmenlauer! > > > >> thanks for the awesome Cygwin, its really great! > > > >> Everything seems to work quite well, and in `ls -la` I can see the > >> file permissions and

Re: test -r or -x always return false on an NFS mount?

2020-10-06 Thread Mario Emmenlauer
Dear Andrey, On 06.10.20 17:46, Andrey Repin wrote: > Greetings, Mario Emmenlauer! > >> thanks for the awesome Cygwin, its really great! > >> Everything seems to work quite well, and in `ls -la` I can see the >> file permissions and user and group entries. But when using `test` >> to check

Re: test -r or -x always return false on an NFS mount?

2020-10-06 Thread Andrey Repin via Cygwin
Greetings, Mario Emmenlauer! > thanks for the awesome Cygwin, its really great! > But since today I met a problem: I mounted a Linux NFSv3 share using > the Windows 10 shipped NFS client. The user and group ID are mapped > via registry settings AnonymousUid and AnonymousGid in the entry >

Re: test -r or -x always return false on an NFS mount?

2020-10-05 Thread Ken Brown via Cygwin
On 10/1/2020 6:22 AM, Mario Emmenlauer wrote: On 22.09.20 22:14, Mario Emmenlauer wrote: But since today I met a problem: I mounted a Linux NFSv3 share using the Windows 10 shipped NFS client. The user and group ID are mapped via registry settings AnonymousUid and AnonymousGid in the entry

Re: test -r or -x always return false on an NFS mount?

2020-10-01 Thread Mario Emmenlauer
On 22.09.20 22:14, Mario Emmenlauer wrote: > But since today I met a problem: I mounted a Linux NFSv3 share using > the Windows 10 shipped NFS client. The user and group ID are mapped > via registry settings AnonymousUid and AnonymousGid in the entry >

test -r or -x always return false on an NFS mount?

2020-09-22 Thread Mario Emmenlauer
Dear All, thanks for the awesome Cygwin, its really great! But since today I met a problem: I mounted a Linux NFSv3 share using the Windows 10 shipped NFS client. The user and group ID are mapped via registry settings AnonymousUid and AnonymousGid in the entry

Fwd: [SMB3][PATCH] add mount option to allow retrieving POSIX mode from special ACE

2019-07-16 Thread L A Walsh
:[SMB3][PATCH] add mount option to allow retrieving POSIX mode from special ACE Date: Mon, 24 Jun 2019 02:11:57 -0500 From: Steve French To: CIFS See e.g. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/hh509017(v=ws.10) where

[newlib-cygwin] Cygwin: mount: define binary mount as default

2019-02-18 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=367c1ae16185e7a81aea5bcc2388e4a7a473c92e commit 367c1ae16185e7a81aea5bcc2388e4a7a473c92e Author: Corinna Vinschen Date: Mon Feb 18 10:12:07 2019 +0100 Cygwin: mount: define binary mount as default Commit

[newlib-cygwin] Cygwin: mount: remove unused method mount_info::set_flags_from_win32_path

2019-02-18 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f76c8519ac662e244ab4c1c14d9f809c08e384b4 commit f76c8519ac662e244ab4c1c14d9f809c08e384b4 Author: Corinna Vinschen Date: Mon Feb 18 10:03:19 2019 +0100 Cygwin: mount: remove unused method mount_info::set_flags_from_win32_path

[newlib-cygwin] Cygwin: path_conv: decouple path_types from mount types

2019-01-06 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c1023ee353705671aa9a8e4e1179022277add2aa commit c1023ee353705671aa9a8e4e1179022277add2aa Author: Corinna Vinschen Date: Sun Jan 6 17:44:20 2019 +0100 Cygwin: path_conv: decouple path_types from mount types - Remove

Re: Mount UNC path different user

2018-12-02 Thread john doe
On 12/2/2018 12:09 PM, Andrey Repin wrote: > Greetings, john doe! > >> How can I do the following on Cygwin?: > > >> /sbin/mount.cifs //server/share /mount-point -o user=different-user > >> In other words, how can I mount a windows share with a speci

Re: Mount UNC path different user

2018-12-02 Thread Andrey Repin
Greetings, john doe! > How can I do the following on Cygwin?: > /sbin/mount.cifs //server/share /mount-point -o user=different-user > In other words, how can I mount a windows share with a specific user ? You can't. Cygwin is not a kernel module, it's a userspace program, and Cygw

Mount UNC path different user

2018-12-02 Thread john doe
Hi, How can I do the following on Cygwin?: /sbin/mount.cifs //server/share /mount-point -o user=different-user In other words, how can I mount a windows share with a specific user ? -- John Doe -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: cygwin: how to mount linux FS from cygwin

2018-10-28 Thread Brian Inglis
On 2018-10-27 19:32, hauck.adrian451 wrote: > I was review the urls indicated and install the command pkg-config: > - Created the file fuse.pc indicated the location the dll: > user@cliente~/winfsp-master/opt/cygfuse/fuse > $ more fuse.pc > arch=x64 > prefix=${pcfiledir}/.. > incdir=C:\Program

Re: cygwin: how to mount linux FS from cygwin

2018-10-28 Thread René Berber
On 10/27/2018 8:32 PM, hauck.adrian451 wrote: > - Created the file fuse.pc indicated the location the dll: > > user@cliente~/winfsp-master/opt/cygfuse/fuse > $ more fuse.pc > arch=x64 > prefix=${pcfiledir}/.. > incdir=C:\Program Files (x86)\WinFsp > implib=C:\Program Files

Re: cygwin: how to mount linux FS from cygwin

2018-10-28 Thread Marco Atzeri
Am 28.10.2018 um 02:32 schrieb hauck.adrian451: Hi, Thank you for the help. I was review the urls indicated Have you in the PATH the directory where winfsp-x64.dll is located ? If it is located in "C:\Program Files(x86)\WinFsp\bin" you should have a something like the output of cygpath $

Re: cygwin: how to mount linux FS from cygwin

2018-10-27 Thread hauck.adrian451
Hi, Thank you for the help. I was review the urls indicated and install the command pkg-config: - Created the file fuse.pc indicated the location the dll: user@cliente~/winfsp-master/opt/cygfuse/fuse $ more fuse.pc arch=x64 prefix=${pcfiledir}/.. incdir=C:\Program Files (x86)\WinFsp

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread Brian Inglis
On 2018-10-26 17:54, hauck.adrian451 wrote: > Excuse me, but I have found the library. It was in "C:\Program Files > (x86)\WinFsp\bin". > I have find where the references of dll in cygwin in this files: > C:\cygwin64\bin\cygfuse-2.8.dll > C:\cygwin64\bin\cygfuse-3.2.dll >

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread hauck.adrian451
Hi, Excuse me, but I have found the library. It was in "C:\Program Files (x86)\WinFsp\bin". I have find where the references of dll in cygwin in this files: C:\cygwin64\bin\cygfuse-2.8.dll C:\cygwin64\bin\cygfuse-3.2.dll /proc/registry32/HKEY_LOCAL_MACHINE/Software/WinFsp/InstallDir The

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread hauck.adrian451
Hi, Yes, I have installed "winfsp-1.3.18160.msi" and when the setup full options "Core, Developer and FUSE for Cygwin": Directorio de C:\Program Files\SSHFS-Win\bin 26/10/2018 23:45 . 26/10/2018 23:45 .. 30/11/2017 23:0912.819 cygcom_err-2.dll 30/11/2017

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread Marco Atzeri
Am 26.10.2018 um 18:03 schrieb hauck.adrian451: Thank you, I execute: - ninja - ninja install user@cliente ~/sshfs-sshfs-3.5.0/build $ ninja [5/6] Compiling C object 'sshfs@exe/sshfs.c.o'. ../sshfs.c: En la función ‘sshfs_init’: ../sshfs.c:1746:28: aviso: ‘~’ on a boolean expression

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread hauck.adrian451
Thank you, I execute: - ninja - ninja install user@cliente ~/sshfs-sshfs-3.5.0/build $ ninja [5/6] Compiling C object 'sshfs@exe/sshfs.c.o'. ../sshfs.c: En la función ‘sshfs_init’: ../sshfs.c:1746:28: aviso: ‘~’ on a boolean expression [-Wbool-operation] cfg->nullpath_ok =

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread cyg Simple
On 10/26/2018 7:28 AM, hauck.adrian451 wrote: > > mssg@ltmssg ~/sshfs-sshfs-3.5.0/build > $ sshfs > -bash: sshfs: no se encontró la orden > > > Can you help me? > https://superuser.com/questions/1264732/how-to-use-sshfs-on-cygwin -- cyg Simple -- Problem reports:

Re: cygwin: how to mount linux FS from cygwin

2018-10-26 Thread hauck.adrian451
Hi, I could install the sshfs in cygwin, but goes on wihout found: user@cliente ~/sshfs-sshfs-3.5.0/build $ meson --reconfigure The Meson build system Version: 0.48.1 Source dir: /home/mssg/sshfs-sshfs-3.5.0 Build dir: /home/mssg/sshfs-sshfs-3.5.0/build Build type: native build Project name:

Re: The 'mount' function different from Linux

2018-08-16 Thread Eric Blake
On 08/16/2018 04:08 PM, Edward Diener wrote: The 'mount' function in cygwin is decidedly different from Linux. What is the reason for this ? - POSIX does not specify mount(1) - it is inherently non-portable and platform specific. So any expectation of similarity between platforms is bound

The 'mount' function different from Linux

2018-08-16 Thread Edward Diener
The 'mount' function in cygwin is decidedly different from Linux. What is the reason for this ? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

[newlib-cygwin] cygwin: readdir: don't lookup mount target inodes

2017-06-14 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8eada332236791bb3757091d867d3ef5f93a13d3 commit 8eada332236791bb3757091d867d3ef5f93a13d3 Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jun 14 13:22:56 2017 +0200 cygwin: readdir: don't lookup mount target

Re: [PATCH] readdir() with mount point dentry, return mount point INO

2017-06-14 Thread Corinna Vinschen
On Jun 13 11:12, Joe Lowe wrote: > > This patch fixes a minor compatibility issue w/ cygwin mount point handling > in readdir(), compared to equivalent behavior of Linux and MacOS. > dentry.d_ino should indicate the INO of the mount point itself, not the > target volume root folde

[newlib-cygwin] readdir() with mount point dentry, return mount point INO

2017-06-14 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e commit 0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e Author: Joe Lowe <j...@pismotec.com> Date: Tue Jun 13 11:12:50 2017 -0700 readdir() with mount point dentry, return mount poi

[PATCH] readdir() with mount point dentry, return mount point INO

2017-06-13 Thread Joe Lowe
This patch fixes a minor compatibility issue w/ cygwin mount point handling in readdir(), compared to equivalent behavior of Linux and MacOS. dentry.d_ino should indicate the INO of the mount point itself, not the target volume root folder. Changed return type from

Re: Can I change default mount options

2017-04-06 Thread Andrey Repin
Greetings, Pan Ruochen! > Hi Andrey Repin, >> >> No, why? Your mount options choice is very sane, IMO. >> > I just dislike cygwin treats every file as executable. This is a core Windows behavior, nothing Cygwin can do about it, not it should. In Windows, any file is,

Re: Can I change default mount options

2017-04-06 Thread Hans-Bernhard Bröker
Am 05.04.2017 um 16:07 schrieb Pan Ruochen: Hi Andrey Repin, No, why? Your mount options choice is very sane, IMO. I just dislike cygwin treats every file as executable. It doesn't --- not when the files' ACLs are set up correctly, anyway. Nor is futzing with mount options the right

Re: Can I change default mount options

2017-04-05 Thread cyg Simple
On 4/5/2017 10:07 AM, Pan Ruochen wrote: > Hi Andrey Repin, > >> >> No, why? Your mount options choice is very sane, IMO. >> > > I just dislike cygwin treats every file as executable. Comparing mount > options of msys2 against cygwin, msys2 has an extra noacl op

Re: Can I change default mount options

2017-04-05 Thread Pan Ruochen
> > Add /etc/fstab.d/ with your own mount options. > Be aware that noacl uses only the readonly attribute to > inhibit write in POSIX permissions, and checks file suffixes > and contents to determine execute permissions, so may be > even slower. > /etc/fstab.d/ works. Than

Re: Can I change default mount options

2017-04-05 Thread Pan Ruochen
Hi Andrey Repin, > > No, why? Your mount options choice is very sane, IMO. > I just dislike cygwin treats every file as executable. Comparing mount options of msys2 against cygwin, msys2 has an extra noacl option. So I guess noacl may turn off this cygwin `feature`. And I also wish thi

Re: Can I change default mount options

2017-04-04 Thread Andrey Repin
Greetings, Pan Ruochen! > On my computer, runing mount shows > C: on /c type ntfs (binary,posix=0,user,noumount,auto) > D: on /d type ntfs (binary,posix=0,user,noumount,auto) > E: on /e type ntfs (binary,posix=0,user,noumount,auto) > Is it possible to change the default mount op

Re: Can I change default mount options

2017-04-03 Thread Brian Inglis
On 2017-04-03 20:19, Pan Ruochen wrote: > On my computer, runing mount shows > > C: on /c type ntfs (binary,posix=0,user,noumount,auto) > D: on /d type ntfs (binary,posix=0,user,noumount,auto) > E: on /e type ntfs (binary,posix=0,user,noumount,auto) > > Is it possible to cha

Can I change default mount options

2017-04-03 Thread Pan Ruochen
On my computer, runing mount shows C: on /c type ntfs (binary,posix=0,user,noumount,auto) D: on /d type ntfs (binary,posix=0,user,noumount,auto) E: on /e type ntfs (binary,posix=0,user,noumount,auto) Is it possible to change the default mount options for every partition, for example , to binary

Re: Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-10 Thread Andrey Repin
osed solution? > You do know that MS originally called junctions "mountpoints", > right? So why would cygwin treating them as such be a "questionable > workaround"? How they are called, and how they behave is a two different questions. > How would

Re: Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-09 Thread L A Walsh
Corinna Vinschen wrote: He's right. The mount point handling in Cygwin is based on the in-memory mount table. I'm not wanting a mount point fake. Just wanting it to look like a normal dir just like the mountvol-junctions. There's no reasonable way to fake some reparse point to look

Re: Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-09 Thread Corinna Vinschen
efits of your proposed solution? > > You do know that MS originally called junctions "mountpoints", > right? So why would cygwin treating them as such be a "questionable > workaround"? He's right. The mount point handling in Cygwin is based on the in-memory mou

Re: Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-09 Thread L A Walsh
Andrey Repin wrote: I would argue against all junctions being treated blindly. The difference with bind mounts in Linux is that in Linux you don't have the information available within the filesystem itself, and have no other option, than to treat them as regular directories. Only direct

Re: Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-09 Thread Andrey Repin
Greetings, L. A. Walsh! > Didn't see a response to this, so reposting, as this > would provide a needed vol and subdir mount facility as > exists on linux... > Especially, since there was a misunderstanding of what > was needed or wanted w/regards to the JUNCTION file-system >

Treating Junctions consistently, as "normal dirs" as w/linux "bind"-type mount

2017-03-08 Thread L. A. Walsh
Didn't see a response to this, so reposting, as this would provide a needed vol and subdir mount facility as exists on linux... Especially, since there was a misunderstanding of what was needed or wanted w/regards to the JUNCTION file-system mounts in Windows. Didn't need mount table updated

Re: Is it OK to mount cygdrive on / ?

2017-02-05 Thread cyg Simple
ch is if this is technically undefined > behavior and might conceivably break something or is it OK (less the > drive listing limitation mentioned above). > I've used the / as /cygdrive since the beginning of /cygdrive. The issue you see is the fact that Cygwin doesn't require a physical

Re: Is it OK to mount cygdrive on / ? (usually, but may not be as portable).

2017-02-05 Thread Andrey Repin
Greetings, L. A. Walsh! >> If you want to access Windows path, recommended route lies through the use of >> cygpath utility to convert native paths to the Cygwin scheme. Et vice versa. >> > I wouldn't recommend that -- it's too hard to type: I didn't say "typing" anywhere. I did mean

Re: Is it OK to mount cygdrive on / ? (usually, but may not be as portable).

2017-02-04 Thread L. A. Walsh
Andrey Repin wrote: Accessing drive letters directly from inside Cygwin is often considered a grey area. How is it grey? Too much may happen on this border. You have to clearly understand, how Cygwin interact with other system, to avoid issues. I.e. if you think you may have

Re: Is it OK to mount cygdrive on / ?

2017-02-04 Thread Andrey Repin
Greetings, Rustam! > I've added an extra / mountpoint in /etc/fstab in order to be able to > access C: without /cygdrive like this: > none /cygdrive cygdrive binary,posix=0,user 0 0 > none / cygdrive binary,posix=0,user 0 0 Only one cygdrive mount is effective. > It s

Re: Is it OK to mount cygdrive on / ?

2017-02-03 Thread Wells, Roger K.
ht conceivably break something or is it OK (less the drive listing limitation mentioned above). Thanks, Rustam The way that I do it (and have for a long time) is a line in my .bash_profile file: mount --change-cygdrive-prefix / then ls /c does what you want but ls / may not HTH -- Problem

Is it OK to mount cygdrive on / ?

2017-02-03 Thread Rustam
I've added an extra / mountpoint in /etc/fstab in order to be able to access C: without /cygdrive like this: none /cygdrive cygdrive binary,posix=0,user 0 0 none / cygdrive binary,posix=0,user 0 0 It seems to work, I can access the C: drive with just /c. But normally an "ls /cygdrive"

Re: Consequences of mount -c

2016-06-24 Thread Andrey Repin
Greetings, Fergus! > I have set > /bin/mount -c "/" > in ‎~/.bashrc with many subsequent easements in use.  Do that in /etc/fstab The example is at the very top of it. Uncomment and change the mount path as you see fit. > In /usr/share/fonts/microsoft/ there are unfortun

Re: Consequences of mount -c

2016-06-24 Thread Achim Gratz
Fergus bonhard.uklinux.net> writes: > I have set > /bin/mount -c "/" > in ‎~/.bashrc with many subsequent easements in use.  > In /usr/share/fonts/microsoft/ there are unfortunately > multiple links referring to files in > /cygdrive/c/Windows/Fonts/; all broken. 

Re: Consequences of mount -c

2016-06-24 Thread Marco Atzeri
On 24/06/2016 11:52, Fergus wrote: I have set /bin/mount -c "/" in ‎~/.bashrc with many subsequent easements in use. In /usr/share/fonts/microsoft/ there are unfortunately multiple links referring to files in /cygdrive/c/Windows/Fonts/; all broken. Similarly in‎ /etc/, several link

Consequences of mount -c

2016-06-24 Thread Fergus
I have set /bin/mount -c "/" in ‎~/.bashrc with many subsequent easements in use.  In /usr/share/fonts/microsoft/ there are unfortunately multiple links referring to files in /cygdrive/c/Windows/Fonts/; all broken.  Similarly in‎ /etc/, several links pointing to files in /cygdrive

Re: df inconsistent with mount after adding a drive

2016-01-21 Thread Marco Atzeri
On 21/01/2016 06:34, Miya Miller wrote: $ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) D: on /cygdrive/d type ntfs (binary

df inconsistent with mount after adding a drive

2016-01-20 Thread Miya Miller
$ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto) F: on /cygdrive/f

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Corinna Vinschen
At the moment I'm using $(/usr/bin/cygpath -S -u) to get the system > directory. Since the /cygdrive prefix could be anything, I'd either > have to first figure it out via $(dirname $(/usr/bin/cygpath -u C:)) > since the output from mount is a bit unwieldy. Maybe we should just > force

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Achim Gratz
Corinna Vinschen writes: > No offense, but you didn't understand what I mean, it seems. I did, I think -- but read my request again. > Don't call cygpath. Just use /proc/cygdrive directly. It's that > simple. While the cygdrive prefix changes, /proc/cygdrive will > *never* change. E.g. I

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Achim Gratz
thetical --8<---cut here---start->8--- WINETC="$(/usr/bin/cygpath -S -U)/drivers/etc" --8<---cut here---end--->8--- BTW, the path comprising the cygdrive prefix probably needs to be sanitized to avoid things like --

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread cyg Simple
On 12/6/2015 9:28 AM, Achim Gratz wrote: > Corinna Vinschen writes: >> No offense, but you didn't understand what I mean, it seems. > > I did, I think -- but read my request again. > >> Don't call cygpath. Just use /proc/cygdrive directly. It's that >> simple. While the cygdrive prefix

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Achim Gratz
cyg Simple writes: > Use the $WINDIR variable to find the Windows path and manipulate its > value to prepend /proc/cygdrive/ and suffix its value with /system32. > The system32 directory will always be in $WINDIR/sytem32. That's just as ugly as the solution I have plus that one doesn't rely on

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Achim Gratz
drive prefix could be anything, I'd either have to first figure it out via $(dirname $(/usr/bin/cygpath -u C:)) since the output from mount is a bit unwieldy. Maybe we should just force the cygdrive prefix to be /cygdrive for postinstall scripts anyway. But there really ought to be a way to simply ha

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Corinna Vinschen
On Dec 6 15:28, Achim Gratz wrote: > Corinna Vinschen writes: > > No offense, but you didn't understand what I mean, it seems. > > I did, I think -- but read my request again. > > > Don't call cygpath. Just use /proc/cygdrive directly. It's that > > simple. While the cygdrive prefix changes,

Re: Ability to specify /cygdrive mount value in setup

2015-12-06 Thread Achim Gratz
Corinna Vinschen writes: >> I need cygpath to get the system directory (hint: it need not be in >> C:\Windows\System32) and cygpath delivers that directory with the >> cygdrive prefix and not /proc/cygpath prepended. I wouldn't mind if all >> those special directories would also be available via

Re: Ability to specify /cygdrive mount value in setup

2015-11-29 Thread cyg Simple
On 11/26/2015 1:04 PM, Achim Gratz wrote: > Corinna Vinschen writes: >> Achim, any chance to tweak base-file accordingly? > > Noted, but it might take a while. > That should work. Thanks for listening and working through the problem. -- cyg Simple -- Problem reports:

  1   2   3   4   5   6   7   8   9   >