>From a programming perspective, you can get the EZFS_* errno values from libzfs.h. However, these don't necessarily have a 1:1 correspondence with error messages, which may be more informative, include more text, etc. If you search for callers of zfs_error() (which sets the 'action' and errno when something fails) and zfs_error_aux() (which optionally sets an extended 'reason' for when something fails) you'll get an idea of all the error messages.
- Eric On Mon, Dec 17, 2007 at 06:12:38PM -0800, asa wrote: > Hello all, looking to get the master list of all the error codes/ > messages which I could get back from doing bad things in zfs. > > I am wrappering the zfs command into python and want to be able to > correctly pick up on errors which are returned from certain operations. > > I did a source code search on opensolaris.org for the text of some of > the errors I know about, with no luck. Are these scattered about or > is there some errors.c file I don't know about? > > Thanks in advance. > > Asa > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Eric Schrock, FishWorks http://blogs.sun.com/eschrock _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss