Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: File sharing over virtio-9p



On Mon, Oct 28, 2019 at 12:29:40 +0900, Ryota Ozaki wrote:

> On Fri, Oct 25, 2019 at 11:19 PM Mouse <mouse%rodents-montreal.org@localhost> wrote:
> >
> > > [W]hich of the following is more readable to the user:
> >
> > > $ ls foo
> > > ls: foo: No such file or directory
> >
> > > or
> >
> > > $ ls foo
> > > ls: stat(foo): No such file or directory
> >
> > It depends entirely on the user.
> >
> > As I recently wrote on a non-NetBSD mailing list, there is no such
> > thing as a good or bad user interface; there is only a good or bad user
> > interfaces for a particular user (or class of sufficiently-similar
> > users).
> >
> > I've lost track of the number of times I've had to resort to a
> > sledgehammer such as ktrace to find out what's really going wrong
> > because an error message doesn't report enough information.
> 
> I've had similar experiences on KASSERT; if a KASSERT fails because of
> memory corruption, I wish to know not only if it fails or not but also
> values used in KASSERT.

KASSERT is, very specifically, information for developers (asserting
something about the internal state of the code), not for users.

-uwe


Home | Main Index | Thread Index | Old Index