Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!icdoc!qmw-cs!liam From: liam@cs.qmw.ac.uk (William Roberts;) Newsgroups: comp.unix.aux Subject: Re: Cannot create (errno:5) Message-ID: <3069@redstar.cs.qmw.ac.uk> Date: 29 Apr 91 10:43:04 GMT References: <1991Apr28.180726.520@deadzone.uucp> Sender: usenet@cs.qmw.ac.uk Lines: 26 Nntp-Posting-Host: whitesand In <1991Apr28.180726.520@deadzone.uucp> marcelo@deadzone.uucp (Marcelo Gallardo) writes: > The "(error:5)" is the part that I don't understand. > Anyone know what error:5 is, or where I might find it in the > manuals? The place to look is actually "man 2 intro", which lists the numbers, the #defined names, the string that perror would produce, and an explanation of some sort. For errno=5 it says 5 EIO I/O error Some physical I/O error has occurred. This error may in some cases occur on a call following the one to which it actually applies. Write-protected disk, perhaps? The comment about "may pccur on a following call" is to do with UNIX buffering of disk writes: various "this should never have happened" errors are only discovered when the write actually takes place, so they get reported rather late... -- William Roberts Internet: liam@dcs.qmw.ac.uk Queen Mary & Westfield College UUCP: liam@qmw-dcs.UUCP Mile End Road AppleLink: UK0087 LONDON, E1 4NS, UK Tel: +44 71-975 5234 (Fax: +44 81-980 6533)