delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/11/13:23:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Anders =?ISO-8859-1?Q?Nystr=F6m?= <anders DOT nystrom AT aktia DOT fi>
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin rebooting computer
In-Reply-To: <fc.000f769f00f5b7e2000f769f00f5b7e2.f5b7ee@aktia.fi>
Message-ID: <Pine.GSO.4.56.0402111315580.11287@slinky.cs.nyu.edu>
References: <fc DOT 000f769f00f5b7e2000f769f00f5b7e2 DOT f5b7ee AT aktia DOT fi>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019