This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin rebooting computer
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Anders Nyström <anders dot nystrom at aktia dot fi>
- Cc: cygwin at cygwin dot com
- Date: Wed, 11 Feb 2004 13:21:45 -0500 (EST)
- Subject: Re: cygwin rebooting computer
- References: <fc.000f769f00f5b7e2000f769f00f5b7e2.f5b7ee@aktia.fi>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/