Errors when trying to access /dev/null

Robert Collins rbcollins@cygwin.com
Thu Oct 16 11:50:00 GMT 2003


On Thu, 2003-10-16 at 20:49, Sandy Pyke wrote:
> > I meant a C:\Cygwin\dev directory.  Such directory doesn't 
> > exist, right?
> 
> That's right. I've checked the entire HD and there is no dev to be found
> from explorer. :)
> 
> > There's no error in it.  Did you try `ls -l /dev/null'?
> 
> See output1.txt, not sure if that's what you were expecting but does not
> look like an error to my novice eyes.
> 
> > Otherwise, try the `ls > /dev/null' in bash again.
> 
> That still fails.
> 
> > If that still fails, try `bash -c "ls > /dev/null"'.
> 
> That fails telling me 'bash: line 1: /dev/null: No such file or directory'
> See strace.txt for the results of the strace for that command.

Which bash are you running? Is it a cygwin one, or perhaps some other
port?

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031016/2c4191b0/attachment.sig>


More information about the Cygwin mailing list