Subject: Re: fstat() and cloned devices
To: None <>
From: David Holland <>
List: tech-kern
Date: 10/07/2007 15:31:43
On Sun, Oct 07, 2007 at 04:56:20PM +0200, Klaus Heinz wrote:
 > - Can anyone please check whether there are any other undocumented
 >   errno values for fstat? If fstat() returns -1 errno is set to 45
 >   (EOPNOTSUPP) which is not listed on the man page for fstat().

Realistically, fstat on an arbitrary object can fail with almost any
error, depending on what filesystem code backs the object you're
looking at. Trying to enumerate all the possibilities in the man pages
is a losing battle, and in general the errors listed should be treated
as representative rather than comprehensive.

   - David A. Holland