Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: Tape drive out to lunch Message-ID: <2914@sun.uucp> Date: Tue, 22-Oct-85 03:01:00 EDT Article-I.D.: sun.2914 Posted: Tue Oct 22 03:01:00 1985 Date-Received: Thu, 24-Oct-85 00:37:34 EDT References: <2018@brl-tgr.ARPA> <1807@umcp-cs.UUCP> <5@pixutl.UUCP> Organization: Sun Microsystems, Inc. Lines: 14 > The precision of u.u_error is pretty poor. It should have 'Device busy', > 'Write protect' and many more to accomodate drivers and to eliminate > the 'uprintf("No write ring\n");' and other kludges found in some kernels. True. The lack of precision in error codes and the lack of enthusiasm by UNIX programs (and programmers) for actually checking for errors and printing reasonable messages (i.e., "perror"-style messages, at least) go hand in hand. The latter is probably as much a reason for those kludges as the former (although Multics, if I remember correctly, had better error codes and a fancier message printer, and its tape driver was amazingly verbose, spitting out several lines of friendly greetings to let you know it had opened a tape). Guy Harris