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 cod

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/m

Re: Windows/Posix path conversion fails on extra mount points

2015-02-10 Thread Thomas Wolff
Am 10.02.2015 um 10:25 schrieb Corinna Vinschen: On Feb 9 21:47, Thomas Wolff wrote: Am 09.02.2015 um 10:18 schrieb Corinna Vinschen: On Feb 9 00:04, Thomas Wolff wrote: cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib" This is the correct directory, however, only by mea

Re: Windows/Posix path conversion fails on extra mount points

2015-02-10 Thread Corinna Vinschen
On Feb 9 21:47, Thomas Wolff wrote: > Am 09.02.2015 um 10:18 schrieb Corinna Vinschen: > >On Feb 9 00:04, Thomas Wolff wrote: > >>cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib" > >>This is the correct directory, however, only by means of the extra mount > >>point > >>of /u

Re: Windows/Posix path conversion fails on extra mount points

2015-02-09 Thread Thomas Wolff
Am 09.02.2015 um 10:18 schrieb Corinna Vinschen: On Feb 9 00:04, Thomas Wolff wrote: cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib" This is the correct directory, however, only by means of the extra mount point of /usr/lib; I think the result should rather be the likewis

Re: Windows/Posix path conversion fails on extra mount points

2015-02-09 Thread Corinna Vinschen
On Feb 9 00:04, Thomas Wolff wrote: > cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib" > This is the correct directory, however, only by means of the extra mount > point > of /usr/lib; I think the result should rather be the likewise correct > but more intuitive "/lib". > The

Windows/Posix path conversion fails on extra mount points

2015-02-08 Thread Thomas Wolff
cygwin_create_path (CCP_WIN_A_TO_POSIX, "C:/cygwin/lib") -> "/usr/lib" This is the correct directory, however, only by means of the extra mount point of /usr/lib; I think the result should rather be the likewise correct but more intuitive "/lib". There is software that’s getting confused by this

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread Achim Gratz
nted when it hasn't. I suspect you did install Cygwin only for "Just Me" instead of "All Users". If so, that is fixed by running setup again and change this option to "All Users". If that's not the reason, the quick fix would be to just provide the standard

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread marco atzeri
On 6/20/2012 8:45 PM, richw wrote: ASSI wrote: Those should see the following mount points according to cygcheck3.out: C:\cygwin/ system binary,auto C:\cygwin\bin/usr/bin system binary,auto C:\cygwin\lib/usr/lib system binary,auto cygdrive prefix /cygdrive

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread richw
So the domain is "." and the account "nfs"? I have no idea what .\nfs means. I'm just reporting what services reports. >>Those should see the following mount points according to cygcheck3.out: > I don't have /usr/bin or /usr/lib in exports, but I think

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread richw
ASSI wrote: > > > Those should see the following mount points according to cygcheck3.out: > > C:\cygwin/ system binary,auto > C:\cygwin\bin/usr/bin system binary,auto > C:\cygwin\lib/usr/lib system binary,auto > cygdrive prefix /cygdr

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread Achim Gratz
em as "started". > The logon Is .\nfs So the domain is "." and the account "nfs"? >>Those should see the following mount points according to cygcheck3.out: > I don't have /usr/bin or /usr/lib in exports, but I think you are > saying that if I did,

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread richw
blem apparently out of the way, let's look at > the second: when you access the NFS export, three daemons get started > (mountd, nfsd and portmap) under their own account (apparently .\nfs?). > Those should see the following mount points according to cygcheck3.out: > > C:\cygwin

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread Achim Gratz
e second: when you access the NFS export, three daemons get started (mountd, nfsd and portmap) under their own account (apparently .\nfs?). Those should see the following mount points according to cygcheck3.out: C:\cygwin/ system binary,auto C:\cygwin\bin/usr/bin system

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread richw
access from a remote system to an nfs file system before opening a bash prompt causes the automatic mount of /usr/bin and /usr/lib to be skipped. When I open a bash prompt before accessing the nfs file system, everything works as it should. cygcheck2.out was created when the system was working correct

Re: /bin and /lib mount points occasionally lost

2012-06-20 Thread marco atzeri
On 6/20/2012 7:26 AM, richw wrote: marco atzeri-4 wrote: cool down your message of 19 Jun http://cygwin.com/ml/cygwin/2012-06/msg00336.html ... has still an old one cygcheck.out as link. so please so kind to provide us the right and updated info Regards Marco I apologize. I have app

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread richw
ly been bitten by uploading two different files with the same name. When I clicked on the link in the message of the 19th, I got the correct file. So, after a name change, we have: http://old.nabble.com/file/p34040469/cygcheck2.out cygcheck2.out -- View this message in context: http://old.nabble.co

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread marco atzeri
On 6/20/2012 3:07 AM, richw wrote: ASSI wrote: richw writes: rw@seven ~ $ /bin/uname -a CYGWIN_NT-6.1-WOW64 seven 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin Your cygcheck.out said I should be expecting a 1.7.11 version here. So maybe you didn't nuke all extra versions or your cygcheck

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread richw
t's the date on the file. An excerpt from that file: 2235k 2012/05/09 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2012/5/9 9:25 Cygwin DLL version info: DLL version: 1.7.15 -- View this message in context: http://old.nabb

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread Achim Gratz
richw writes: >> rw@seven ~ >> $ /bin/uname -a >> CYGWIN_NT-6.1-WOW64 seven 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin Your cygcheck.out said I should be expecting a 1.7.11 version here. So maybe you didn't nuke all extra versions or your cygcheck output wasn't for your actual installation...

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread richw
WIN_NT-6.1-WOW64 seven 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin > > rw@seven ~ > $ -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp34007108p34038496.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Pr

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread Achim Gratz
richw writes: [...] > A reboot fixes the problem, as long as I run cygwin.bat before I access nfs. The problem quite likely lies with your 11 different copies of cygwin1.dll. You start the NFS server and it picks up one of those, just not the one for your actual Cygwin installation. Now Cygwin i

Re: /bin and /lib mount points occasionally lost

2012-06-19 Thread richw
noumount,auto) > > rw@seven ~ > A reboot fixes the problem, as long as I run cygwin.bat before I access nfs. -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp34007108p34037768.html Sent from the Cygwin list mailing list archive at

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread Christopher Faylor
fore you >> noticed Cygwin stopped working, causing you to reboot to fix it? >> >> >I rebooted my computer because it was late and it was time >to go to bed. It was working fine before I turned it off, and it >didn't work when I rebooted in the morning. And

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread richw
I rebooted my computer because it was late and it was time to go to bed. It was working fine before I turned it off, and it didn't work when I rebooted in the morning. And the only thing that didn't work was the mount points; "ls" (and almost everything else) would fail, whic

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread Warren Young
On 6/13/2012 5:32 PM, richw wrote: What was I doing? I rebooted the computer. You're being pedantic. I mean, what program(s) did you run before you noticed Cygwin stopped working, causing you to reboot to fix it? I believe you are running something that fights with Cygwin somehow, and thi

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread richw
l, but I have never run it. The other two copies on C: are detritus left over from creating a windows installer that included it, before I figured out how to make an executable that didn't require it. -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasional

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread Warren Young
On 6/13/2012 11:19 AM, richw wrote: I occasionally find that cygwin is broken, and I find that /usr/bin and /usr/lib no longer are useful. It would help if you could pin down what you were doing before Cygwin breaks each time. Can you please search your entire hard drive for a second copy o

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread richw
d of >> (binary,user) for the two mounts in question. >> > > look on difference between "/etc/fstab" > see > http://cygwin.com/cygwin-ug-net/using.html#mount-table > > Regards > Marco > > -- > Problem reports: http://cygwin.com/problems.ht

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread marco atzeri
On 6/13/2012 9:47 PM, richw wrote: Christopher Faylor-8 wrote: On Wed, Jun 13, 2012 at 10:19:42AM -0700, richw wrote: I occasionally find that cygwin is broken, and I find that /usr/bin and /usr/lib no longer are useful. The mount command (for which I need to type /bin/mount) shows nothing

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread richw
ive/d type ntfs (binary,posix=0,user,noumount,auto) rw@seven ~ $ I note that another cygwin installation has (binary,auto) instead of (binary,user) for the two mounts in question. -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp3400710

Re: /bin and /lib mount points occasionally lost

2012-06-13 Thread Christopher Faylor
On Wed, Jun 13, 2012 at 10:19:42AM -0700, richw wrote: >I occasionally find that cygwin is broken, and I find that /usr/bin and >/usr/lib no longer are useful. The mount command (for which I need to >type /bin/mount) shows nothing mounted there. I type the following two >commands: >mount c:/cygwi

/bin and /lib mount points occasionally lost

2012-06-13 Thread richw
(through reboots) for a while, and then break again. Any hints how I can keep this from happening, or what might cause it? -- View this message in context: http://old.nabble.com/-bin-and--lib-mount-points-occasionally-lost-tp34007108p34007108.html Sent from the Cygwin list mailing list archive at

Re: Mount points using batch file but not with ssh login

2011-04-02 Thread Mark Maas
On 02-04-11 14:00, Andy Koppe wrote: On Saturday, 2 April 2011, Mark Maas wrote: I've been trying to get some network shares mounted in my cygwin environment. Shares that I've already mounted with Windows itself. So I've tried some combo's with "net use" or simple using the "mount.exe" command

Re: Mount points using batch file but not with ssh login

2011-04-02 Thread Andy Koppe
On Saturday, 2 April 2011, Mark Maas wrote: > I've been trying to get some network shares mounted in my cygwin environment. > Shares that I've already mounted with Windows itself. > So I've tried some combo's with "net use" or simple using the "mount.exe" > command to get those shares. But I'm no

Re: Mount points using batch file but not with ssh login

2011-04-02 Thread Mark Maas
On 02-04-11 10:53, Corinna Vinschen wrote: On Apr 2 09:01, Mark Maas wrote: Hello List, I've been trying to get some network shares mounted in my cygwin environment. Shares that I've already mounted with Windows itself. So I've tried some combo's with "net use" or simple using the "mount.exe"

Re: Mount points using batch file but not with ssh login

2011-04-02 Thread Corinna Vinschen
On Apr 2 09:01, Mark Maas wrote: > Hello List, > > I've been trying to get some network shares mounted in my cygwin > environment. Shares that I've already mounted with Windows itself. > So I've tried some combo's with "net use" or simple using the > "mount.exe" command to get those shares. But I

Re: Mount points using batch file but not with ssh loginMount points using batch file but not with ssh login

2011-04-02 Thread Mark Maas
On 04/02/2011 08:48 AM, Mark Maas wrote: Hello List, And I'm sorry this got sent twice... I don't understand how... Sorry again. Mark -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsu

Mount points using batch file but not with ssh login

2011-04-02 Thread Mark Maas
ut I'm not able to get them to function. Which is weird, because they are already there when I start cygwin using the supplied batch file (Command prompt) but not when I login to my localhost ssh server using the same user... When I start Cygwin using the supplied batch file, I get these mou

Bug: second bash shell can't find mount points.

2011-01-25 Thread L. Van Warren
CONTEXT: Running cygwin 1.7 on Windows XP cygcheck output here: http://wdv.com/cygcheck.txt BACKGROUND: Checked cygwin FAQ, Googled, etc. Have installed and updated mount points using /bin/copy-user-registry-fstab. BUG: First bash shell started using

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-20 Thread Rolf Campbell
On 2010-08-20 07:56, Corinna Vinschen wrote: Thanks for the new strace. After some more experimenting I was finally able to reproduce the issue. The other problem you reported, about df(*), lead me onto the right track. I've checked my changes in to CVS. For testing I provided another test DL

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-20 Thread Corinna Vinschen
On Aug 19 18:11, Rolf Campbell wrote: > On 2010-08-19 13:05, Corinna Vinschen wrote: > >For further testing purposes I have uploaded a new cygwin1.dll which > > > >a) adds debug output in readdir() which prints DOS attributes as well as > >evaluated d_type value for each readdir entry to strace

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Rolf Campbell
On 2010-08-19 18:37, Andrey Repin wrote: If ATI is the junction (reparse point, or however you call it) to a top-level directory on another partition, this behavior could be explained by "exiting through the window": process enter the partition from the doors (junction), dig it, then trying to ex

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Andrey Repin
Greetings, Corinna Vinschen! > I checked the strace, and after ascending back from the ATI subdir into > the toplevel dir successfully, find appears to exit "just so", without > any trace that it even *tries* to continue to scan further subdirs. And > unfortunately there's no way to see why find

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Rolf Campbell
On 2010-08-19 12:28, Eric Blake wrote: On 08/19/2010 08:43 AM, Corinna Vinschen wrote: Hmm, digging through Cygwin's readdir code, I have a vague idea. Eric, does find honor the struct dirent d_type flag? I'm wondering if d_type is erroneously set to DT_REG for some reason. If so, we could fi

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Corinna Vinschen
(__ino64_t ino) return hasgood_inode () && (ino > UINT32_MAX || !isremote () || fs_is_nfs ()); } -static inline bool -is_volume_mountpoint (POBJECT_ATTRIBUTES attr) +/* Check reparse point for type. IO_REPARSE_TAG_MOUNT_POINT types are + either volume mount points, which a

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Eric Blake
On 08/19/2010 08:43 AM, Corinna Vinschen wrote: > Hmm, digging through Cygwin's readdir code, I have a vague idea. > > Eric, does find honor the struct dirent d_type flag? I'm wondering > if d_type is erroneously set to DT_REG for some reason. If so, we > could find this out by augmenting the de

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Corinna Vinschen
On Aug 19 09:50, Rolf Campbell wrote: > NTFS Junction point: yes. I used the builtin windowns tool > "mountvol" to mount the disk in an empty directory. It's > technically mounted as "C:\.timemachine\3". > > Output from "ls -l" > [...] > I do not set the CYGWIN environmental variable when runnin

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Corinna Vinschen
On Aug 19 10:31, Corinna Vinschen wrote: > On Aug 18 18:50, Rolf Campbell wrote: > > I have an 2nd NTFS disk mounted in a directory in my primary NTFS > > disk. When I use 'find' (with no arguments), it only displays a > > small fraction of the files in the current directory. > > > > Using cygwin

Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points

2010-08-19 Thread Corinna Vinschen
On Aug 18 18:50, Rolf Campbell wrote: > I have an 2nd NTFS disk mounted in a directory in my primary NTFS > disk. When I use 'find' (with no arguments), it only displays a > small fraction of the files in the current directory. > > Using cygwin 1.7.5, it displayed about 100,000 files. > Using cyg

Re: setup-legacy.exe version 2.677 does not create default mount points

2010-01-21 Thread Jeremy Bopp
Christopher Faylor wrote: > On Thu, Jan 21, 2010 at 06:00:00PM -0600, Jeremy Bopp wrote: >> When using setup-legacy.exe version 2.677 to install Cygwin 1.5, the >> installation process appears to complete successfully, but the mount >> points for /, /usr/bin, and /usr/lib a

Re: setup-legacy.exe version 2.677 does not create default mount points

2010-01-21 Thread Christopher Faylor
On Thu, Jan 21, 2010 at 06:00:00PM -0600, Jeremy Bopp wrote: >When using setup-legacy.exe version 2.677 to install Cygwin 1.5, the >installation process appears to complete successfully, but the mount >points for /, /usr/bin, and /usr/lib are not created. This leads to >postinstall sc

Re: Problem with mount points

2009-11-17 Thread Andrew DeFaria
user B mapped this shared drive to T: So what happens? The user who starts a cygwin shell first has no problems, but the user B who start cygwin after user B has wrong mount points. User B see the main mount points from user A. ===> /, /usr/bin, and /usr/lib is mapped to Z: and not to T:

Re: Problem with mount points

2009-11-17 Thread Corinna Vinschen
etter > Z: and user B mapped this shared drive to T: > So what happens? The user who starts a cygwin shell first has no problems, > but the user B who start cygwin after user B has wrong mount points. > User B see the main mount points from user A. > > ===> /, /usr/bin, and /

Problem with mount points

2009-11-17 Thread helge.kleve
user who starts a cygwin shell first has no problems, but the user B who start cygwin after user B has wrong mount points. User B see the main mount points from user A. ===> /, /usr/bin, and /usr/lib is mapped to Z: and not to T: How can i solve this problem? Best regards He

Re: How to activate new fstab mount points under 1.7?

2009-07-23 Thread Corinna Vinschen
erlooked? > >> > >> Overlooked == not implemented. > > > > ;-) > > > > Something that's planned? > > Not yet. I added it to my TODO list but don't hold your breath for now. I implemented `mount ' as well as `mount -a' to read the mount points from the f

Re: How to activate new fstab mount points under 1.7?

2009-07-16 Thread Corinna Vinschen
On Jul 15 22:29, Steven Hartland wrote: > > - Original Message - From: "Christopher Faylor" >>> Any I missing something or has this functionality just been >>> overlooked? >> >> Overlooked == not implemented. > > ;-) > > Something that's planned? Not yet. I added it to my TODO list but do

Re: How to activate new fstab mount points under 1.7?

2009-07-15 Thread Steven Hartland
- Original Message - From: "Christopher Faylor" Any I missing something or has this functionality just been overlooked? Overlooked == not implemented. ;-) Something that's planned? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/

Re: How to activate new fstab mount points under 1.7?

2009-07-15 Thread Christopher Faylor
On Wed, Jul 15, 2009 at 09:33:20PM +0100, Steven Hartland wrote: >Having read: >http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table > >I'm still at a loss how to activate newly added mount points >from fstab? > >The standard Unix paradigm would be mount -a or moun

How to activate new fstab mount points under 1.7?

2009-07-15 Thread Steven Hartland
Having read: http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table I'm still at a loss how to activate newly added mount points from fstab? The standard Unix paradigm would be mount -a or mount but none of these work. The only way I've found is to restart the cygwin promp

Re: Mount points missing under chroot sftp

2006-05-19 Thread Larry Hall (Cygwin)
Steven Hartland wrote: I've setup and environment using scponly-4.6 where by I have the following: /home// What I've done to get is to actually mount it under cygwin e.g. mount c:/shareddir /home/user1/shareddir Unfortunately when the user logs in using sftp shareddir is blank like the mount do

Mount points missing under chroot sftp

2006-05-19 Thread Steven Hartland
I've setup and environment using scponly-4.6 where by I have the following: /home// What I've done to get is to actually mount it under cygwin e.g. mount c:/shareddir /home/user1/shareddir Unfortunately when the user logs in using sftp shareddir is blank like the mount does not exist. Anyone got

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-23 Thread Corinna Vinschen
On Feb 22 14:21, Tim Hubberstey wrote: > --- Corinna Vinschen wrote: > > On Feb 18 09:58, Corinna Vinschen wrote: > > > On Feb 17 01:52, Tim Hubberstey wrote: > > > > $ find /cygdrive/c -name @@@F\* > > > > find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same > > device > > > > number a

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-22 Thread Tim Hubberstey
--- Corinna Vinschen wrote: > On Feb 18 09:58, Corinna Vinschen wrote: > > On Feb 17 01:52, Tim Hubberstey wrote: > > > $ find /cygdrive/c -name @@@F\* > > > find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same > device > > > number and inode as a directory which is 2 levels higher in t

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-22 Thread Corinna Vinschen
On Feb 18 09:58, Corinna Vinschen wrote: > On Feb 17 01:52, Tim Hubberstey wrote: > > $ find /cygdrive/c -name @@@F\* > > find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same device > > number and inode as a directory which is 2 levels higher in the > > filesystem hierarchy. > > But I'

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-18 Thread Tim Hubberstey
erarchy. > > > > I tried with CYGWIN=smbntsec and CYGWIN unset and the behavior was > the > > same. Volumes mounted on a root folder (e.g. C:\mnt) get the same > error > > except for "...which is 1 level higher...". > > The reason for your problem is

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-18 Thread Christopher Faylor
On Fri, Feb 18, 2005 at 06:28:19AM -0700, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Corinna Vinschen on 2/18/2005 1:58 AM: >> >> The reason for your problem is that Cygwin doesn't check for volume mount >> points. FWICT,

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-18 Thread Igor Pechtchanski
On Thu, 17 Feb 2005, Tim Hubberstey wrote: > I'm experiencing a problem with 'find' when mounted NTFS volumes > (junctions) are involved. I have created a sample directory structure > /cygdrive/c/aa/aa where 'aa' is the mount point for another NTFS drive. > > >From DOSland it looks like this: > C:

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 2/18/2005 1:58 AM: > > The reason for your problem is that Cygwin doesn't check for volume mount > points. FWICT, there's a very simple solution for that, calling a specific > Windows funct

Re: Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-18 Thread Corinna Vinschen
drive/c/aa/aa' has the same device > number and inode as a directory which is 2 levels higher in the > filesystem hierarchy. > > I tried with CYGWIN=smbntsec and CYGWIN unset and the behavior was the > same. Volumes mounted on a root folder (e.g. C:\mnt) get the same error > ex

Bug in 'find' 4.2.11-CVS when traversing NTFS mount points

2005-02-17 Thread Tim Hubberstey
I'm experiencing a problem with 'find' when mounted NTFS volumes (junctions) are involved. I have created a sample directory structure /cygdrive/c/aa/aa where 'aa' is the mount point for another NTFS drive. >From DOSland it looks like this: C:\> dir \aa Directory of C:\aa 2005/02/17 00:35

Re: cygwin sshd started as service doesn't respect mount points

2004-08-19 Thread Christopher Faylor
On Thu, Aug 19, 2004 at 07:31:39PM +0200, Claus-Thomas Buhl wrote: >Ok. Problem solved. I had to remove the registry key >HKEY_CURRENT_USER\Software\Cygnus Solution\Cygwin\mounts v2\/home/buhl JUST USE THE `mount' COMMAND. THAT IS WHAT IT IS THERE FOR. -- Unsubscribe info: http://cygwin.com

Re: Cygwin sshd started as service doesn't respect mount points

2004-08-19 Thread Claus-Thomas Buhl
Ok. Problem solved. I had to remove the registry key HKEY_CURRENT_USER\Software\Cygnus Solution\Cygwin\mounts v2\/home/buhl CTB Claus-Thomas Buhl schrieb: I have installed Cygwin sshd as a service and these are the mount points of interest: D:\Programme\cygwin on / type system (binmode) E

Cygwin sshd started as service doesn't respect mount points

2004-08-13 Thread Claus-Thomas Buhl
I have installed Cygwin sshd as a service and these are the mount points of interest: D:\Programme\cygwin on / type system (binmode) E:\Benutzer\buhl on /home/buhl type system (binmode) Under /home/buhl/.ssh (that is E:\Benutzer\buhl\.ssh), I have setup my .ssh folder with my ssh keys. When I now

RE: Where are mount points stored?

2003-12-06 Thread Igor Pechtchanski
nk for themselves and > explore, so they don't come begging for help all the time, at least > that's what I try to encourage... (especially in IT) > > > -Original Message- > > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 05,

RE: Where are mount points stored?

2003-12-06 Thread Joaquin
TED] > Sent: Friday, December 05, 2003 6:38 AM > To: Joaquin > Cc: [EMAIL PROTECTED] > Subject: RE: Where are mount points stored? > > > Ok, so (1) is curiousity. As for (2), why not simply run > "mount" instead of the reg query? It will give you the same > exact

RE: Where are mount points stored?

2003-12-05 Thread Igor Pechtchanski
Ok, so (1) is curiousity. As for (2), why not simply run "mount" instead of the reg query? It will give you the same exact information. Igor On Thu, 4 Dec 2003, Joaquin wrote: > No. For one (1) I don't want to be ignorant and want to learn how > things work. Secondly (2) this helps me

RE: Where are mount points stored?

2003-12-04 Thread Joaquin
No. For one (1) I don't want to be ignorant and want to learn how things work. Secondly (2) this helps me find diagnose and isolate problems. I found weird behavior with Japanese Windows XP Home, where a mount point is being auto-created. This would help me diagnose exactly when this is happeni

Re: mount points

2003-12-04 Thread Christopher Faylor
eingold wrote: >> >> PS. Is there a POSIX way to get the list of mount points, lime mount(1) >> >> and df(1) do? It appears that linux has /proc/mounts and most >> >> unixes have /etc/mtab, but is there a system call? >> > >>

Re: mount points

2003-12-04 Thread Corinna Vinschen
On Thu, Dec 04, 2003 at 10:21:28AM -0500, Sam Steingold wrote: > > * Corinna Vinschen <[EMAIL PROTECTED]> [2003-12-04 15:37:54 +0100]: > > > > On Thu, Dec 04, 2003 at 09:27:14AM -0500, Sam Steingold wrote: > >> PS. Is there a POSIX way to get the list of mount po

Re: mount points

2003-12-04 Thread Sam Steingold
> * Corinna Vinschen <[EMAIL PROTECTED]> [2003-12-04 15:37:54 +0100]: > > On Thu, Dec 04, 2003 at 09:27:14AM -0500, Sam Steingold wrote: >> PS. Is there a POSIX way to get the list of mount points, lime mount(1) >> and df(1) do? It appears that linux has /proc/mou

Re: Where are mount points stored?

2003-12-03 Thread Igor Pechtchanski
On Wed, 3 Dec 2003, Joaquin wrote: > Hi, > > I found the mount points on my system using mount, but I was wondering > if how these are stored. There is no discernable fstab or something > similar in the /etc directory. > > - joaquin Ye! I finally found a perfect us

Re: Where are mount points stored?

2003-12-03 Thread Larry Hall
At 05:24 PM 12/3/2003, Joaquin you wrote: >Hi, > >I found the mount points on my system using mount, but I was wondering >if how these are stored. There is no discernable fstab or something >similar in the /etc directory. But there will be someday. For now, they're stored

Where are mount points stored?

2003-12-03 Thread Joaquin
Hi, I found the mount points on my system using mount, but I was wondering if how these are stored. There is no discernable fstab or something similar in the /etc directory. - joaquin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

RE: Checking mount points

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:56, Richardson, Tony wrote: > Any suggestions on how to do it? > > "mount /home/$USER" returns "not enough arguments" and I haven't found a > -check option to mount. mount | grep /home/$USER if empty, not mounted if not empty, the win32 path that is mounted there. Rob

RE: Checking mount points

2002-09-27 Thread Richardson, Tony
use regtool (checking both the system and user keys) or > > parse the output from "mount", but I was hoping for something as > > simple as typing "isitmounted /home/$USER" and have the unknown > > isitmounted command return an appropriate exit status. > >

Re: Checking mount points

2002-09-27 Thread Robert Collins
quot;mount", but I was hoping for something as simple as > typing "isitmounted /home/$USER" and have the unknown isitmounted > command return an appropriate exit status. > > I'm trying to write startup scripts so that mount points get set > automatically when

Checking mount points

2002-09-27 Thread Richardson, Tony
uot;isitmounted /home/$USER" and have the unknown isitmounted command return an appropriate exit status. I'm trying to write startup scripts so that mount points get set automatically when running cygwin from a network share (but I don't to override /home/$USER if that already exists.