[ENBD] /proc/nbdinfo

Peter T. Breuer enbd@lists.community.tummy.com
Mon, 11 Nov 2002 21:07:24 +0100 (MET)


"Kay Salzwedel wrote:"
> "Peter T. Breuer" wrote:
> > It's probably that it's one page of output (4KB). Can you confirm?
> 
> Confirmed!

OK. Now, how are you measuring? It's just possible that more than one
page is coming out but that an off-by-one count is putting a zero 
in the output. Can you measure it with dd if=/proc/nbdinfo | wc -c?

Possibly for various values of bs, including bs=1 and bs=4096.

But I will look at the kernel mechanism for producing more than one
page in /proc. It's complex and rarely used so something can have
gone wrong. Can you also show me the cutoff point? I.e. what line
of output it occurs in?


Peter