On Wed, 25 Jun 2003, Lou Langholtz wrote: > [ ... ] In the meantime, the nbd-client tool currently can't correctly set > the size of the device and either that needs to be worked around in the > driver (I'd done that in the original jumbo patch), or the nbd-client > tool needs to be updated (the patch I'd mailed out for nbd-client works > around the sizing issue by re-opening the nbd). To be clear, that's not > something any of the changes that have gone in so far broke nor address. > It's a consequence of how bd_set_size() is called in fs/block_dev.c > do_open(). And here's the (tiny) patch for nbd to maintain compatibility with the existing nbd-client tool. Compiled and tested on a couple machines. Please apply. Thanks, Paul