Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 11 Feb 2004 13:21:45 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Anders =?ISO-8859-1?Q?Nystr=F6m?= cc: cygwin AT cygwin DOT com Subject: Re: cygwin rebooting computer In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.39 On Wed, 11 Feb 2004, Anders Nyström wrote: > I am a big fan of cygwin and has just learned the TAB completion thing. > > Now, my harddisk is partitioned in 2 so sometimes (not always) > when doing cd /cygdrive/d TAB, teh computer goes black = softboot = reset > > Am I doing anything wrong or what > rgds Anders Nystrom Anders, Cygwin by itself (i.e., without explicitly making the appropriate Windows calls, as "shutdown" does) should not be able to reboot your machine. I'd suspect a faulty driver of some sort. Does this problem happen on "ls /cygdrive" as well? My guess is you should be able to reproduce this problem from a pure Windows program, by making the same call sequence as the one in fhandler_cygdrive::set_drives() in src/winsup/cygwin/fhandler_disk_file.cc (even just calling GetLogicalDriveStrings() might do it). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/