Re: /cygdrive/f/ missing when my script is executed by cron

2012-03-29 Thread Corinna Vinschen
On Mar 29 11:59, Stéphane Klein wrote: > Le 29/03/2012 11:16, Corinna Vinschen a écrit : > >>But, I've have an issue : when my bash script is executed by cron, > >>it hasn't access to /cygdrive/f/, this device isn't mounted ! > > > >Remote shares are mounted on a per user-session basis. Cron as a

Re: /cygdrive/f/ missing when my script is executed by cron

2012-03-29 Thread Stéphane Klein
Le 29/03/2012 11:16, Corinna Vinschen a écrit : But, I've have an issue : when my bash script is executed by cron, it hasn't access to /cygdrive/f/, this device isn't mounted ! Remote shares are mounted on a per user-session basis. Cron as a service is not running in your desktop user-session.

Re: /cygdrive/f/ missing when my script is executed by cron

2012-03-29 Thread Stéphane Klein
Le 29/03/2012 11:16, Corinna Vinschen a écrit : But, I've have an issue : when my bash script is executed by cron, it hasn't access to /cygdrive/f/, this device isn't mounted ! Remote shares are mounted on a per user-session basis. Cron as a service is not running in your desktop user-session.

Re: /cygdrive/f/ missing when my script is executed by cron

2012-03-29 Thread Corinna Vinschen
On Mar 29 10:14, Stéphane Klein wrote: > Hi, > > I try to configure rsync on MS Windows to execute a folder > synchronization every day. > > I use this tools : > > * I've installed cygwin > * I've use cygwin setup.exe to install rsync, openssh, cron > > Next, in cygwin terminal, I did : > > *

Re: /cygdrive/c permission denied

2011-11-29 Thread Corinna Vinschen
On Nov 29 08:51, Eric Blake wrote: > On 11/29/2011 08:42 AM, Warren Young wrote: > > The only serious difference I see here is that I get "d-+", so > > going by just that, I shouldn't even be able to cd into it! > > See that + on the end of the mode field? That means there are ACLs in > a

Re: /cygdrive/c permission denied

2011-11-29 Thread Eric Blake
On 11/29/2011 08:42 AM, Warren Young wrote: > The only serious difference I see here is that I get "d-+", so > going by just that, I shouldn't even be able to cd into it! See that + on the end of the mode field? That means there are ACLs in affect; and my guess is one of the ACLs allows y

Re: /cygdrive/c permission denied

2011-11-29 Thread Warren Young
On 11/28/2011 5:06 PM, Mike Brennan wrote: When I did "cd /cygdrive; ls -l" I got: drwx--+ 1 0 Nov 28 17:03 c I don't think the is an error. I see much the same thing here, and I have full read/write access to C:\ via the Cygwin shell. The only serious diffe

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Jan-Aage Frydenbø-Bruvoll
On 24/03/2010 14:52, Corinna Vinschen wrote: You don't have 1.7.2 installed. Or, you don't *use* 1.7.2. The above shows clearly that there's still a 1.7.1 running under the hood. You have to find out, why. Is there an old process still running on the machine? Do you have another place with a 1

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Corinna Vinschen
On Mar 24 14:33, Jan-Aage Frydenb?-Bruvoll wrote: > Hello again, > > FYI, installed 1.7.2 - no changes in behaviour spotted so far, at all. > > On 24/03/2010 09:49, Corinna Vinschen wrote: > >If ls shows the right result > > $ ls -ld /cygdrive > > dr-xr-xr-x 8 you your_group 0 2006-12-01 01:0

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Jan-Aage Frydenbø-Bruvoll
Hello again, FYI, installed 1.7.2 - no changes in behaviour spotted so far, at all. On 24/03/2010 09:49, Corinna Vinschen wrote: If ls shows the right result $ ls -ld /cygdrive dr-xr-xr-x 8 you your_group 0 2006-12-01 01:00 /cygdrive I have my own permutation here: Wed Mar 24 14:31

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Jan-Aage Frydenbø-Bruvoll
On 24/03/2010 09:49, Corinna Vinschen wrote: Start with testing 1.7.2. Great, I'll start there. Thanks very much for your assistance so far, by the way! Best regards Jan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Corinna Vinschen
On Mar 24 09:32, Jan-Aage Frydenb?-Bruvoll wrote: > On 24/03/2010 09:17, Corinna Vinschen wrote: > >The new 1.7.2 DLL should fix your original problem, but as far as the > >weird output of getfacl is concerned, you would have to debug this. > >With a debugger and all that. I don't know any other w

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Jan-Aage Frydenbø-Bruvoll
On 24/03/2010 09:17, Corinna Vinschen wrote: The new 1.7.2 DLL should fix your original problem, but as far as the weird output of getfacl is concerned, you would have to debug this. With a debugger and all that. I don't know any other way to find out why that happens. Ok - on the outskirt

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-24 Thread Corinna Vinschen
On Mar 23 17:41, Jan-Aage Frydenb?-Bruvoll wrote: > Hi Corinna, > > Would you have any suggestions on what I could try to get past this > sticking point? The new 1.7.2 DLL should fix your original problem, but as far as the weird output of getfacl is concerned, you would have to debug this. With

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-23 Thread Jan-Aage Frydenbø-Bruvoll
Hi Corinna, Would you have any suggestions on what I could try to get past this sticking point? Best regards Jan On 19/03/2010 17:39, Corinna Vinschen wrote: On Mar 19 13:25, Jan-Aage Frydenb?-Bruvoll wrote: 126 56084 [main] getfacl 4280 mount_info::conv_to_win32_path: src_path /c

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Jan-Aage Frydenbø-Bruvoll
On 19/03/2010 18:39, Dave Korn wrote: I would strongly suggest nobody ever follow this reckless approach to eliminating BLODAs. Always use the service control manager and/or the add/remove programs control panel, according to whether you're trying to temporarily disable or completely uninstal

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Dave Korn
On 19/03/2010 18:04, Jan-Aage Frydenbø-Bruvoll wrote: > Tried removing the process and corresponding registry key - still same > behaviour. I would strongly suggest nobody ever follow this reckless approach to eliminating BLODAs. Always use the service control manager and/or the add/remove p

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Jan-Aage Frydenbø-Bruvoll
Hi, On 19/03/2010 17:39, Corinna Vinschen wrote: 529 62187 [main] getfacl 4280 fhandler_base::set_flags: flags 0x11, supplied_bin 0x0 99 62286 [main] getfacl 4280 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x1 98 62384 [main] getfacl 4280 fhandler_base::s

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Corinna Vinschen
On Mar 19 18:39, Corinna Vinschen wrote: > On Mar 19 13:25, Jan-Aage Frydenb?-Bruvoll wrote: > > 126 56084 [main] getfacl 4280 mount_info::conv_to_win32_path: src_path > > /cygdrive, dst D:\cygwin\cygdrive, flags 0x3000A, rc 0 > > That's what puzzles me a lot. The cygdrive prefix should neve

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Corinna Vinschen
On Mar 19 13:25, Jan-Aage Frydenb?-Bruvoll wrote: > 126 56084 [main] getfacl 4280 mount_info::conv_to_win32_path: src_path > /cygdrive, dst D:\cygwin\cygdrive, flags 0x3000A, rc 0 That's what puzzles me a lot. The cygdrive prefix should never have been converted to a valid Win32 path. Not a

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Dave Korn
On 19/03/2010 13:25, Jan-Aage Frydenbø-Bruvoll wrote: > Please see the attached two files as requested. > Logitech Process Monitor service Stop and disable that service in the service control console. It's known to break Cygwin apps. (It may or may not have anything to do with this precise p

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Corinna Vinschen
On Mar 19 11:37, Jan-Aage Frydenb?-Bruvoll wrote: > Fri Mar 19 11:36:22 j...@aeolus:/ > $ rmdir.exe cygdrive > > Fri Mar 19 11:36:24 j...@aeolus:/ > $ ls -ld cygdrive > d--x--x--x 5 jan Administrators 0 2006-12-01 00:00 cygdrive > > Fri Mar 19 11:36:30 j...@aeolus:/ > $ getfacl.exe /cygdrive > #

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Corinna Vinschen
On Mar 19 11:52, Dave Korn wrote: > On 19/03/2010 11:22, Corinna Vinschen wrote: > > On Mar 19 10:35, Jan-Aage Frydenb?-Bruvoll wrote: > >> > > > > The permissions of the underlying directory are not reflected in > > the fstat API. We're pretending the cygdrive directory has fixed > > 0555 permiss

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Jan-Aage Frydenbø-Bruvoll
Dave, Corinna, On 19/03/2010 11:52, Dave Korn wrote: On 19/03/2010 11:22, Corinna Vinschen wrote: Thanks for the thorough explanation. On Mar 19 10:35, Jan-Aage Frydenb?-Bruvoll wrote: The permissions of the underlying directory are not reflected in the fstat API. We're p

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Dave Korn
On 19/03/2010 11:22, Corinna Vinschen wrote: > On Mar 19 10:35, Jan-Aage Frydenb?-Bruvoll wrote: >> > > The permissions of the underlying directory are not reflected in > the fstat API. We're pretending the cygdrive directory has fixed > 0555 permissions because it's a virtual directory. You coul

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Corinna Vinschen
On Mar 19 10:35, Jan-Aage Frydenb?-Bruvoll wrote: > Dear all, > > I am trying to get duplicity (backup) working, and everything seems > ok apart from the fact that duplicity seems not to be able to see > anything underneath /cygdrive. > > Looking at the permissions on /cygdrive, things seem a lit

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Jan-Aage Frydenbø-Bruvoll
Dave, On 19/03/2010 11:22, Dave Korn wrote: WAG: You aren't using the --exclude-other-filesystems option on your command-line, by any chance? Thanks for the suggestion, but no. What I could have done, though, is supply the relevant output from duplicity... CL: /usr/bin/duplicity increm

Re: /cygdrive permissions problem [failing duplicity backup]

2010-03-19 Thread Dave Korn
On 19/03/2010 10:35, Jan-Aage Frydenbø-Bruvoll wrote: > Dear all, > > I am trying to get duplicity (backup) working, and everything seems ok > apart from the fact that duplicity seems not to be able to see anything > underneath /cygdrive. WAG: You aren't using the --exclude-other-filesystems op

Re: goldstar? Re: cygdrive prefix

2009-09-27 Thread Andrew Schulman
> Wow. Nice summation of the reasons for the need for a c:\cygwin. > > Can I get a goldstar here? Awarded. Sorry for the delay. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

Re: cygdrive prefix

2009-09-22 Thread Thomas Plank
Linda Walsh (cyg...@tlinx.org) wrote: > OTOH, at least the defaults are pretty sensible (I can just hit ENTER), > through the setup -- EXCEPT...at the end -- how many times do I > have to tell setup that I *STILL* don't want the icon on my desktop??! I'm using cygwin on two different computers (h

Re: cygdrive prefix

2009-09-18 Thread Linda Walsh
Harald Joerg wrote: > Linda Walsh writes: > >> [...] OTOH, at least the defaults are pretty sensible ... > > Pretty sensible, indeed. I love /cygdrive as just another example of a > pretty sensible default. --- Well, MS, put their unix in /unix. Wouldn't it make sense to put a cygwin su

Re: cygdrive prefix

2009-09-18 Thread Shaddy Baddah
Hi Andy, Andy Koppe wrote: 2009/9/16 Dave Korn: whatever) prefixes when accessing stuff from the other side of the fence. Never mind the fence, what colour are we going to paint the bikeshed? This is purely a matter of taste. Exactly. I didn't mean to suggest that Cygwin sh

Re: cygdrive prefix

2009-09-17 Thread Andrew DeFaria
Christopher Faylor wrote: Haven't we already looped several times in this discussion? I don't think there is any new information that needs to be imparted. Can we close this down now? People obviously wish to discuss the issue. If you're not interested in their discussion then can't you simply

Re: cygdrive prefix

2009-09-17 Thread Andrew DeFaria
Jim Reisert AD1C wrote: On Wed, Sep 16, 2009 at 10:16 AM, Andrew Schulman wrote: Personally I like /win/c etc., but sure, I guess you could put none / cygdrive binary,posix=0,user 0 0 into /etc/fstab and get /c, /d, etc. There is a huge downside to this. I tried it. It totally broke all my p

Re: cygdrive prefix

2009-09-17 Thread Christopher Faylor
On Thu, Sep 17, 2009 at 06:25:44PM -0600, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Larry Hall (Cygwin) on 9/17/2009 12:53 PM: >> While I'm not suggesting that people should reassign their "cygdrive" >> prefix >> to "/", I think the problem you saw in your ca

Re: cygdrive prefix

2009-09-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Larry Hall (Cygwin) on 9/17/2009 12:53 PM: > While I'm not suggesting that people should reassign their "cygdrive" > prefix > to "/", I think the problem you saw in your case is a result of having set > CVS up when your setting was still "

Re: cygdrive prefix

2009-09-17 Thread Larry Hall (Cygwin)
On 09/17/2009 12:32 PM, Jim Reisert AD1C wrote: On Wed, Sep 16, 2009 at 10:16 AM, Andrew Schulman wrote: Personally I like /win/c etc., but sure, I guess you could put none / cygdrive binary,posix=0,user 0 0 into /etc/fstab and get /c, /d, etc. There is a huge downside to this. I tried i

Re: cygdrive prefix

2009-09-17 Thread Jim Reisert AD1C
On Wed, Sep 16, 2009 at 10:16 AM, Andrew Schulman wrote: > Personally I like /win/c etc., but sure, I guess you could put > > none / cygdrive binary,posix=0,user 0 0 > > into /etc/fstab and get /c, /d, etc. There is a huge downside to this. I tried it. It totally broke all my projects using CV

Re: cygdrive prefix

2009-09-17 Thread Christopher Faylor
On Thu, Sep 17, 2009 at 06:36:26AM +0100, Andy Koppe wrote: >2009/9/17 Christopher Faylor: >>>My real gripe is with setup telling me off about putting Cygwin in the >>>root dir ON EVERY SINGLE UPDATE. >> >> My real gripe is people who COMPLAIN ABOUT FREE SOFTWARE where they >> HAVE THE SOURCE CODE.

Re: cygdrive prefix

2009-09-17 Thread Larry Hall (Cygwin)
On 09/17/2009 01:18 AM, Andy Koppe wrote: 2009/9/16 Dave Korn: whatever) prefixes when accessing stuff from the other side of the fence. Never mind the fence, what colour are we going to paint the bikeshed? This is purely a matter of taste. Exactly. I didn't mean to suggest that Cygwin

Re: cygdrive prefix

2009-09-17 Thread Ralph Hempel
Harald Joerg wrote: ... -- EXCEPT...at the end -- how many times do I have to tell setup that I *STILL* don't want the icon on my desktop??! I eventually got around that one. I found that I do not want *any* icons on my desktop and switched them off completely. There is an option in the "Sor

Re: cygdrive prefix

2009-09-17 Thread Harald Joerg
Linda Walsh writes: > [...] OTOH, at least the defaults are pretty sensible ... Pretty sensible, indeed. I love /cygdrive as just another example of a pretty sensible default. > ... (I can just hit ENTER), through the setup ... ...and the default buttons in the GUI are always in the same place

Re: cygdrive prefix

2009-09-17 Thread Thorsten Kampe
* Andy Koppe (Wed, 16 Sep 2009 22:06:45 +0100) > 2009/9/16 Thorsten Kampe > > you shouldn't install Cygwin > > directly to C:\ (but to C:\cygwin): so you don't have the Cygwin and the > > Windows root folder structure mixed. > > And where exactly is the harm in that? Apple certainly don't see a >

Re: cygdrive prefix

2009-09-17 Thread Linda Walsh
Shaddy Baddah wrote: > In this case, although cygwin has a package management system, it is > not going to manage the non-cygwin stuff dropped into c:/bin,lib, > etc. And that means if a user goes and installs something like msys --- I knew I had a good reason for thinking it would cause tr

Re: cygdrive prefix

2009-09-16 Thread Linda Walsh
Andy Koppe wrote: > 2009/9/17 Christopher Faylor: >>> My real gripe is with setup telling me off about putting Cygwin in the >>> root dir ON EVERY SINGLE UPDATE. >> My real gripe is people who COMPLAIN ABOUT FREE SOFTWARE where they >> HAVE THE SOURCE CODE. > > Ah, that old lazy chestnut. Feedback

Re: cygdrive prefix

2009-09-16 Thread Andy Koppe
2009/9/17 Christopher Faylor: >>My real gripe is with setup telling me off about putting Cygwin in the >>root dir ON EVERY SINGLE UPDATE. > > My real gripe is people who COMPLAIN ABOUT FREE SOFTWARE where they > HAVE THE SOURCE CODE. Ah, that old lazy chestnut. Feedback not welcome. At least get a

Re: cygdrive prefix

2009-09-16 Thread Christopher Faylor
On Thu, Sep 17, 2009 at 06:18:21AM +0100, Andy Koppe wrote: >2009/9/16 Dave Korn: >>> whatever) prefixes when accessing stuff from the other side of the >>> fence. >> >> ??Never mind the fence, what colour are we going to paint the bikeshed? >> >> ??This is purely a matter of taste. > >Exactly. I d

Re: cygdrive prefix

2009-09-16 Thread Andy Koppe
2009/9/16 Dave Korn: >> whatever) prefixes when accessing stuff from the other side of the >> fence. > >  Never mind the fence, what colour are we going to paint the bikeshed? > >  This is purely a matter of taste. Exactly. I didn't mean to suggest that Cygwin should go into C:\ by default. And ye

Re: goldstar? Re: cygdrive prefix

2009-09-16 Thread Shaddy Baddah
Hi, Before I start, I want to admit that I think I may have misinterpreted Andy Koppe's email. I now see that Andy may have been defending *not* demarcating the rest of the windows world with a /cygdrive prefix by just having all c:/ subpaths accessabile directly from the / prefix. That's not my

Re: goldstar? Re: cygdrive prefix

2009-09-16 Thread Mark J. Reed
On Wed, Sep 16, 2009 at 9:44 PM, Christopher Faylor wrote: [re: Shaddy Baddah] > Wow.  Nice summation of the reasons for the need for a c:\cygwin. > > Can I get a goldstar here? Indeed, a nice summary. Let me dispel some misconceptions that piped up in the Apple comparison: the two ways of thinki

goldstar? Re: cygdrive prefix

2009-09-16 Thread Christopher Faylor
On Thu, Sep 17, 2009 at 11:35:11AM +1000, Shaddy Baddah wrote: >Hi, > >Andy Koppe wrote: >> 2009/9/16 Thorsten Kampe >> >>> you shouldn't install Cygwin >>> directly to C:\ (but to C:\cygwin): so you don't have the Cygwin and the >>> Windows root folder structure mixed. >>> >> >> And where

Re: cygdrive prefix

2009-09-16 Thread Shaddy Baddah
Hi, Andy Koppe wrote: 2009/9/16 Thorsten Kampe you shouldn't install Cygwin directly to C:\ (but to C:\cygwin): so you don't have the Cygwin and the Windows root folder structure mixed. And where exactly is the harm in that? Apple certainly don't see a problem with it, with the likes

Re: cygdrive prefix

2009-09-16 Thread Linda Walsh
Vincent R. wrote: > Hi, > > Is there any good reason to force user to use /cygdrive/ before accessing > a drive ? > I am asking it because I regularly switch from cygwin to mingw and some > simple script needs > to be adapted every time. > Wouldn't be easier to access directly to a drive without e

Re: cygdrive prefix

2009-09-16 Thread Christopher Faylor
On Wed, Sep 16, 2009 at 10:40:33PM +0100, Dave Korn wrote: >Andy Koppe wrote: >> 2009/9/16 Thorsten Kampe >> whatever) prefixes when accessing stuff from the other side of the >> fence. > > Never mind the fence, what colour are we going to paint the bikeshed? Please take this discussion to cygwin

RE: cygdrive prefix

2009-09-16 Thread Buchbinder, Barry (NIH/NIAID) [E]
Vincent R. sent the following at Wednesday, September 16, 2009 12:09 PM >> Vincent R. wrote: >>> Is there any good reason to force user to use /cygdrive/ before >>> accessing a drive? > >Ok I see your point but I find it weird to complicate things by adding >/cygdrive. Maybe some people are crazy

Re: cygdrive prefix

2009-09-16 Thread Dave Korn
Andy Koppe wrote: > 2009/9/16 Thorsten Kampe > whatever) prefixes when accessing stuff from the other side of the > fence. Never mind the fence, what colour are we going to paint the bikeshed? This is purely a matter of taste. To each their own and de gustibus non disputandum est. cheer

Re: cygdrive prefix

2009-09-16 Thread Andy Koppe
2009/9/16 Thorsten Kampe > you shouldn't install Cygwin > directly to C:\ (but to C:\cygwin): so you don't have the Cygwin and the > Windows root folder structure mixed. And where exactly is the harm in that? Apple certainly don't see a problem with it, with the likes of /Applications and /Users l

Re: cygdrive prefix

2009-09-16 Thread Thorsten Kampe
* Vincent R. (Wed, 16 Sep 2009 18:08:59 +0200) > > On Wed, 16 Sep 2009 09:02:19 -0700, Andrew DeFaria > wrote: > > Vincent R. wrote: > >> Hi, > >> > >> Is there any good reason to force user to use /cygdrive/ before > >> accessing a drive ? > > Considering you aren't forced to use /cygdrive/ (se

Re: cygdrive prefix

2009-09-16 Thread Thomas Wolff
Vincent R. wrote: > Wouldn't be easier to access directly to a drive without entering > cygdrive? Is there any reason for that ? Dave Korn wrote: > Go ahead. You can create a mountpoint anywhere you like, so if you want > MinGW-style /c, /d, etc., just use the 'mount' command or edit the fstab.

Re: cygdrive prefix

2009-09-16 Thread Andrew Schulman
> > Wouldn't be easier to access directly to a drive without entering > > cygdrive? Is there any reason for that ? > > Go ahead. You can create a mountpoint anywhere you like, so if you want > MinGW-style /c, /d, etc., just use the 'mount' command or edit the fstab. Personally I like /win/c et

Re: cygdrive prefix

2009-09-16 Thread Andrew DeFaria
Vincent R. wrote: Ok I see your point but I find it weird to complicate things by adding /cygdrive. /cygdrive is just the string of characters the coder implementing that code choose to use. Be thankful. He could have choose /ThisIsThePathIWantedToUseToIndicateWindowsDrives! ;-) Maybe some pe

Re: cygdrive prefix

2009-09-16 Thread Vincent R.
On Wed, 16 Sep 2009 09:02:19 -0700, Andrew DeFaria wrote: > Vincent R. wrote: >> Hi, >> >> Is there any good reason to force user to use /cygdrive/ before >> accessing a drive ? > Considering you aren't forced to use /cygdrive/ (see mount(1m)) no... >> I am asking it because I regularly switch fr

Re: cygdrive prefix

2009-09-16 Thread Andrew DeFaria
Vincent R. wrote: Hi, Is there any good reason to force user to use /cygdrive/ before accessing a drive ? Considering you aren't forced to use /cygdrive/ (see mount(1m)) no... I am asking it because I regularly switch from cygwin to mingw and some simple script needs to be adapted every time.

Re: cygdrive prefix

2009-09-16 Thread Dave Korn
Vincent R. wrote: > Wouldn't be easier to access directly to a drive without entering > cygdrive? Is there any reason for that ? Go ahead. You can create a mountpoint anywhere you like, so if you want MinGW-style /c, /d, etc., just use the 'mount' command or edit the fstab. cheers,

Re: /cygdrive can't see share z:

2007-04-17 Thread Brian Dessent
Dave Korn wrote: > > $ ls /cygdrive/j > > ls: /cygdrive/j: No such file or directory > > > > ... open windows explorer and click on J drive, then... > > > > $ ls /cygdrive/j > > dir1 dir2 dir3 file1 file2 > > > > I haven't found any other solution yet. > > When you create the network drive,

RE: /cygdrive can't see share z:

2007-04-17 Thread Dave Korn
On 17 April 2007 12:52, John Daniel Doucette wrote: > Daniel, > > I have a similar problem under WinXP. Almost always, mapped network > drives are invisible under /cygdrive. Ie. after booting if J: is a > mapped drive "ls /cygdrive/j" gives "ls: /cygdrive/j: No such file or > directory". However

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-15 Thread Brian Dessent
"Stepp, Charles" wrote: > Symlink? > > ln -s /cygdrive/c /c Oh please no. If you want that just set the cygdrive prefix to / ("mount -c /"). Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-15 Thread Carl Christopher Edquist
On 6/15/06, Buchbinder, Barry (NIH/NIAID) [E] wrote: Does the following do what you want? mount -u -b --change-cygdrive-prefix "/" Stepp, Charles wrote: > Symlink? > > ln -s /cygdrive/c /c No... Thanks but no. Barry and Charles, i think you're answering a different question. This

RE: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-15 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
ution to the problem.) - Barry Stepp, Charles wrote: > Symlink? > > ln -s /cygdrive/c /c > > Charles Stepp > Unix SA > CYGWIN ROCKS!! > > -Original Message- > From: kralius [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 11:26 PM > To: cygwin@cy

RE: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-15 Thread Stepp, Charles
Symlink? ln -s /cygdrive/c /c Charles Stepp Unix SA CYGWIN ROCKS!! -Original Message- From: kralius [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 11:26 PM To: cygwin@cygwin.com Subject: Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior) Thanks for the

Re: cygdrive 'find' problem fixed in ver 4.3.0

2006-06-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 6/15/2006 4:32 AM: > Hi all, > > I had the cygdrive 'find' problem whereby the command cant traverse the > mounted drived under /cygdrive properly, as described in these posts: > > http://sourceware.org/ml/cygwin/200

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-14 Thread Igor Peshansky
On Wed, 14 Jun 2006, kralius wrote: > On 6/13/06, Brian Dessent <[EMAIL PROTECTED]> wrote: . Thanks. > > > changed to become visible. The cygwin installer now also creates a > > > real directory on the windows file system called cygdrive, > > > > I do

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-14 Thread kralius
On 6/13/06, Brian Dessent <[EMAIL PROTECTED]> wrote: > changed to become visible. The cygwin installer now also creates a > real directory on the windows file system called cygdrive, I don't know where you got this idea but it's absolutely not true. There should never be a physical directory b

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-13 Thread Brian Dessent
kralius wrote: > changed to become visible. The cygwin installer now also creates a > real directory on the windows file system called cygdrive, I don't know where you got this idea but it's absolutely not true. There should never be a physical directory backing the cygdrive prefix, and no pack

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-13 Thread kralius
Thanks for the reply. >The only mention >of cygdrive flags in the registry that i could find was at least 3 >years old and got a reply to the effect of "don't mess with the >registry!" (*sigh*) Which apparently didn't serve as a clue? The hint was written before the always-visible cygdrive .

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-13 Thread Christopher Faylor
On Tue, Jun 13, 2006 at 08:22:20PM -0500, kralius wrote: >I'm trying to find a way to make the cygdrive prefix directory >(default: /cygdrive) appear hidden within cygwin (for example, to ls or >find). > >This was actually the old behavior in cygwin, but at some point it >changed to become visible.

Re: cygdrive uses incorrect date

2006-04-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Antoine Solomon on 4/14/2006 11:48 AM: > Hello all, > are there any instructions on how to rebuild the cygwin.dll ? this > 1969 problem on windows2000 is a serious problem because of our > license server is unable to check the date on /c

RE: cygdrive uses incorrect date

2006-04-14 Thread Dave Korn
On 14 April 2006 18:49, Antoine Solomon wrote: > Hello all, > are there any instructions on how to rebuild the cygwin.dll ? this > 1969 problem on windows2000 is a serious problem because of our > license server is unable to check the date on /cygdrive/. Also > current time on my windows syste

Re: cygdrive uses incorrect date

2006-04-14 Thread Christopher Faylor
On Fri, Apr 14, 2006 at 01:48:42PM -0400, Antoine Solomon wrote: >Hello all, >are there any instructions on how to rebuild the cygwin.dll ? Yes, there are. In the obvious place: the FAQ. >this 1969 problem on windows2000 is a serious problem because of our >license server is unable to check the

Re: cygdrive uses incorrect date

2006-04-14 Thread Antoine Solomon
Hello all, are there any instructions on how to rebuild the cygwin.dll ? this 1969 problem on windows2000 is a serious problem because of our license server is unable to check the date on /cygdrive/. Also current time on my windows systems are all in the GMT eastern time. Thanks, Antoine I am

Re: cygdrive uses incorrect date

2006-03-30 Thread Igor Peshansky
On Thu, 30 Mar 2006, Antoine Solomon wrote: > Hello all, > I have a serious problem with the date on "/cygdrive/" mount point. I > seem to get microsoft date function crash when running particular > applications. > The date function is called _loctotime() and it appears to be an > internal functi

configuration problems re cygdrive

2006-01-09 Thread Michael E. Burke
Well, I had Cygwin installed as part of the Apache2Triad WAMP installation, and it was cool enough I went to the Cygwin site and loaded Cygwin from the setup utility, using the defaults. That was cool, but I figured I was missing a lot of options so I reloaded it with everything (I kind of like to

Re: /cygdrive command line completion?

2004-11-12 Thread Fred Kulack
One option might be to just use a cygdrive prefix of "/". Its a bit more natural to me. cd /c/Program\ Files Of course, your mileage may vary and I'd guess it may not always work depending on how the mounts versus cygdrive prefixes are parsed. mount -u -b --change-cygdrive-prefix "/"

Re: /cygdrive command line completion?

2004-11-11 Thread Raye Raskin
>> Is this a FAQ? Can't find it. >> >> How do I get /cygdrive to auto-complete on the command line? > > >mkdir /cygdrive > >WFM, anyway. WFM, too. Thanks. If you type ls /cygdrive/ it should just work without creating the directory. Ha! The whole point was to avoid having to type /cygdrive !

RE: /cygdrive command line completion?

2004-11-11 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 11 November 2004 17:18 > On Thu, Nov 11, 2004 at 05:10:50PM -, Dave Korn wrote: > >> -Original Message- > >> From: cygwin-owner On Behalf Of Raye Raskin > >> Sent: 11 November 2004 17:08 > > > >>

Re: /cygdrive command line completion?

2004-11-11 Thread Christopher Faylor
On Thu, Nov 11, 2004 at 05:10:50PM -, Dave Korn wrote: >> -Original Message- >> From: cygwin-owner On Behalf Of Raye Raskin >> Sent: 11 November 2004 17:08 > >> Is this a FAQ? Can't find it. >> >> How do I get /cygdrive to auto-complete on the command line? > > >mkdir /cygdrive > >WFM

RE: /cygdrive command line completion?

2004-11-11 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Raye Raskin > Sent: 11 November 2004 17:08 > Is this a FAQ? Can't find it. > > How do I get /cygdrive to auto-complete on the command line? mkdir /cygdrive WFM, anyway. cheers, DaveK -- Can't think of a witty .sigli

Re: cygdrive path

2004-02-06 Thread Jan Buys
I will try out the DDD/cygwin solution for now (deeply ashamed I did not notice it was there somewhere)... Thanks Igor and Larry for your answers :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: h

Re: cygdrive path

2004-02-05 Thread Larry Hall
At 01:36 PM 2/5/2004, Jan Buys you wrote: >Hello, > >Sorry if this is a dumb newbie question. I am a dumb newbie to cygwin after >all :-) > >I use the gcc compiler under cygwin to make some big builds. gdb is used to >debug. However : I want to use a DDD-style visual front-end to gdb and my >

Re: cygdrive path

2004-02-05 Thread Igor Pechtchanski
On Thu, 5 Feb 2004, Jan Buys wrote: > Hello, > > Sorry if this is a dumb newbie question. I am a dumb newbie to cygwin after > all :-) > > I use the gcc compiler under cygwin to make some big builds. gdb is used to > debug. However : I want to use a DDD-style visual front-end to gdb and my > fi

Re: /cygdrive/a permission denied

2004-01-15 Thread Igor Pechtchanski
On Thu, 15 Jan 2004, Ahmed Hashim wrote: > --- Larry Hall wrote: > At 01:30 PM 1/15/2004, Ahmed Hashim you wrote: > > >I'm using cygwin on Windows XP. I want to create a > > >boot disk for my target machine > > > > > >when I do the following: > > >dd conv=sync if=install/bin/redboot.bin > > of=/c

Re: /cygdrive/a permission denied

2004-01-15 Thread Brian Ford
On Thu, 15 Jan 2004, Ahmed Hashim wrote: > Larry Hall wrote: > > At 01:30 PM 1/15/2004, Ahmed Hashim you wrote: > > >I'm using cygwin on Windows XP. I want to create a > > >boot disk for my target machine > > > > > >when I do the following: > > >dd conv=sync if=install/bin/redboot.bin of=/cygdrive

Re: /cygdrive/a permission denied

2004-01-15 Thread Ahmed Hashim
--- Larry Hall <[EMAIL PROTECTED]> wrote: > At 01:30 PM 1/15/2004, Ahmed Hashim you wrote: > >I'm using cygwin on Windows XP. I want to create a > >boot disk for my target machine > > > >when I do the following: > >dd conv=sync if=install/bin/redboot.bin > of=/cygdrive/a > > > >I get the followin

Re: /cygdrive/a permission denied

2004-01-15 Thread Larry Hall
At 01:30 PM 1/15/2004, Ahmed Hashim you wrote: >I'm using cygwin on Windows XP. I want to create a >boot disk for my target machine > >when I do the following: >dd conv=sync if=install/bin/redboot.bin of=/cygdrive/a > >I get the following message: >dd: opening '/cygdrive/a': Permission denied

Re: 'cygdrive' Question

2003-10-10 Thread Larry Hall
At 02:15 PM 10/10/2003, Paul Bezzam you wrote: >Hello, > >I have installed Cygwin( in C:\Cygwin) on WinXP, but when I start Cygwin, >the directory I am in is not the "C:/Cygwin/home/username", but another >with a path that starts with "/cygdrive." > >I have installed Cygwin on a Windows 2000 serve

Re: Cygdrive Path Prefix Question

2003-07-18 Thread Andrew DeFaria
Corinna Vinschen wrote: On Thu, Jul 17, 2003 at 10:57:25PM -0700, Kenny Carruthers wrote: So just wondering if someone can tell me how I configure cygwin to echo back Win32 style paths instead of POSIX style paths for the current working directory. cygpath -w `pwd` Corinna That answers that qu

Re: Cygdrive Path Prefix Question

2003-07-18 Thread Corinna Vinschen
On Thu, Jul 17, 2003 at 10:57:25PM -0700, Kenny Carruthers wrote: > So just wondering if someone can tell me how I configure cygwin to echo back > Win32 style paths instead of POSIX style paths for the current working > directory. cygpath -w `pwd` Corinna -- Corinna Vinschen Pl

RE: cygdrive

2003-02-12 Thread [EMAIL PROTECTED]
It's probably worth mentioning other virtual directories like /proc and /dev too. Larry Original Message: - From: David Starks-Browning [EMAIL PROTECTED] Date: Wed, 12 Feb 2003 10:49:45 + To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: cygdrive On Wednesday 12 Feb 03, Mau

Re: cygdrive

2003-02-12 Thread Thorsten Kampe
* Maurício (03-02-12 12:38 +0100) >Why can't we see /cygdrive with ls in / We? Thorsten@freki% bash ~ 1006:6 bash - GNU Bourne-Again SHell 2.05b.0(8)-release 1:1053 ~ Thorsten@freki$ \ls -d /cygdrive /cygdrive > , and also can't see

Re: /cygdrive/c ==> //c

2002-05-14 Thread David T-G
Christopher -- ...and then Christopher Faylor said... % % On Tue, May 14, 2002 at 10:12:44AM -0400, Larry Hall (RFK Partners, Inc) wrote: % >You don't need to run it manually with each "login". "mount" writes to % >the registry so the settings are persistent. "mount -m" shows them to % >you. %

  1   2   >