Re: [zfs-discuss] zfs error listings

2007-12-17 Thread Eric Schrock
>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 wh

[zfs-discuss] zfs error listings

2007-12-17 Thread asa
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