From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23988 invoked by alias); 17 Dec 2004 17:23:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23972 invoked from network); 17 Dec 2004 17:22:58 -0000 Received: from unknown (HELO fiji.reservoir.com) (12.167.20.144) by sourceware.org with SMTP; 17 Dec 2004 17:22:58 -0000 Received: from fiji.reservoir.com (fiji [127.0.0.1]) by fiji.reservoir.com (8.12.8/8.12.8) with ESMTP id iBHHMwga000632 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 17 Dec 2004 12:22:58 -0500 Received: (from schweitz@localhost) by fiji.reservoir.com (8.12.8/8.12.8/Submit) id iBHHMvqc000630 for cygwin@cygwin.com; Fri, 17 Dec 2004 09:22:57 -0800 Date: Fri, 17 Dec 2004 17:23:00 -0000 From: Eric Schweitz To: cygwin@cygwin.com Subject: [?@yahoo.com: Found problem of floppy drive acces] Message-ID: <20041217172257.GB442@fiji.reservoir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-12/txt/msg00636.txt.bz2 ----- Forwarded message from Vijay Jaswal ----- Hello again, I found where the floppy drive was being access and it's definately a problem of Cygwin. /etc/profile is invoked when "bash --login" is used, which is used in the cygwin.bat file. Without the --login (or -l) option, /etc/profile is not touched and the floppy drives aren't either. In /etc/profile, the following block is the problem; search for "profile.d". > # Run all of the profile.d scripts > # Note that these are supplied by separate packages > # Ascending alphanumerical order enforced > if [ -d "/etc/profile.d" ]; then > while read f; do > if [ -f "${f}" ]; then > . "${f}" > fi > done <<- EOF > `/bin/find /etc/profile.d -iname '*.sh' -type f | sort` > EOF > fi The find command is invoked, and it is hitting the floppy, no matter what options are supplied: "/bin/find --version" and "/bin/find --help" both hit the floppy drive, which is clearly a blunder. BTW, /bin/df is also screwed up, but not as badly: "df ." hits the floppy, even the current directory is a harddrive, but "df --version" and "df --help" are fine and not brain-dead. So, there are bugs in a few places, but /bin/find is definately one of them. BTW, could you inform the mailing list about this (without using my email address)? -vijay ----- End forwarded message ----- -- 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/