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/


Reply via email to