[comp.unix.aux] Cannot create </users1/torres/.kshrc>

marcelo@deadzone.uucp (Marcelo Gallardo) (04/29/91)

	The subject up above describes an error that I received. All I
	was doing was trying to cpio files from one directory to
	another. 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?

-- 
Marcelo Gallardo			marcelo%deadzone@princeton.edu
Test and Evaluation Specialist		...!princeton!deadzone!marcelo
Princeton University			marcelo@sparcwood.princeton.edu
Advanced Technologies and Applications		(609) 258-5661

liam@cs.qmw.ac.uk (William Roberts;) (04/29/91)

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)