From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 6 May 1994 21:22:38 -0400 From: philw@plan9.research.att.com philw@plan9.research.att.com Subject: No subject Topicbox-Message-UUID: 01e731e2-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19940507012238.RK7UcnFDIuo6bV8te0z-8ZpN2JyVVeJ_KCdr590pTio@z> >From: euler.Berkeley.EDU!serge > >>Brazil allows file systems to be mounted with a recover option >>which does exactly what you ask. > >Pardon me, can you tell me what Brazil is? Thank you very much. Brazil is the name of the research version on Plan 9 we are currently working on. >From: Scott Schwartz > >One annoying thing in Unix is when you say something like >open("/no/such/directory/or/file",0), it tells you that it something >doesn't exist, but doesn't say what, which sometimes makes for >uninformative error messages. Now that we have errstr, instead of just >errno, it would be delightful if it would encode something about >what went wrong, so that perror could say something like > open: failed because directory 'such' does not exist This has nothing to do with the plan 9 kernel. The errstr is produced by whatever file system you are connected to. However, while the file system could be modified to do this it does not seem unreasonable to expect the application programmer to print adequate information especially with the werrstr library function and %r format.