Re: autofs: make the autofsv5 packet file descriptor use a packetized pipe

From: Linus Torvalds
Date: Sun Apr 29 2012 - 20:25:53 EST


On Sun, Apr 29, 2012 at 5:15 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
> I just looked at am-utils; am-utils *does* use autofs v5, and *will*
> loop back and read more data on a short read.

Can you point to the sources?

If it's "short read" as in "I didn't get as much as I expected", that's fine.

If it is "short read" as in "I don't even try to read 300 bytes, I
read it in 8-byte chunks", we're screwed.

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