lkml.org 
[lkml]   [2008]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Nbd] [PATCH 1/1] NBD: add partition support
On Tue, Apr 01, 2008 at 05:14:09PM -0400, Paul Clements wrote:
> Below, Laurent notes that partition table re-read doesn't automatically
> occur. For now you'll have to open("/dev/nbdX") to get that to happen.
> Longer term, nbd-client can be modified to fork just before nbd_do_it()
> and then call ioctl(BLKRRPART, "/dev/nbdX") in the parent process
> (probably need to wait for the "pid" file to show up in /sys to avoid a
> race).

I just released nbd-2.9.10, which does just that.

--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22


\
 
 \ /
  Last update: 2008-04-04 15:29    [W:0.149 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site