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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: ls --color (strange display) Date: Thu, 18 Sep 2003 11:36:23 -0700 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, zh In-Reply-To: Philippe Bastiani wrote: > Hi, > > When i had the --color option to the 'ls c:' command line, i obtain the 2 > followings lines: > ls: c:/hiberfil.sys: No such file or directory > ls: c:/pagefile.sys: No such file or directory > > Note: c:/hiberfil.sys & c:/pagefile.sys are 2 existing files... displayed > when i remove this option! My WAG is that with --color, ls is opening files to look at the first few bytes in an effort to determine what type of file it is. You do not have permissions to open C:/hiberfil.sys nor c:/pagefile.sys so it fails. === Obligatory witty saying: Enter any 11-digit prime number to continue... -- 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/