Re: mount()

Alexander Viro (viro@math.psu.edu)
Sun, 16 May 1999 10:05:03 -0400 (EDT)


On Sat, 15 May 1999, Mike Eldridge wrote:

> On error, mount() returns -1 and errno is set appropriately, just as with
> pretty much every other function that could possibly fail. =)
>
> However, when mount() fails, the error message is printed not on stdout
> nor on stderr, but on the console. This is, to say the least, annoying,
> when you're trying to write an application utilizing mount() in which
> mount() can and probably will fail.

RTFM. man 5 syslog.conf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/