- To: bug-hurd@gnu.org, debian-hurd@lists.debian.org
- Cc: Wouter Verhelst <wouter@debian.org>
- Subject: Re: nbd-server
- From: Roland McGrath <roland@frob.com>
- Date: Fri, 28 Sep 2001 00:50:48 -0400 (EDT)
- Message-id: <[🔎] 20010928045048.08F679990F@perdition.linnaean.org>
- In-reply-to: Wouter Verhelst's message of Fri, 28 September 2001 00:17:37 +0200 <[🔎] Pine.LNX.4.21.0109280010540.488-100000@rock.dezevensprong.local>
I took a quick look at nbd and it's so simple that I just implemented the client side for the Hurd. That is, I've added an "nbd" store type to libstore. So to use it do e.g.: settrans /dev/nb0 /hurd/storeio -Tnbd hostname:1234 to connect to TCP port 1234 on "hostname". That gives the store a blocksize of 1, since the server protocol doesn't impose any. You can set the block size of the store in the name, e.g.: settrans /dev/nb0 /hurd/storeio -Tnbd hostname:1234/1024 does the same as the above, but the resulting device will have a block size of 1024 (the default for Linux nbd devices). As usual, I've compiled this but not tested it at all. I'm sure there are some stupid bugs. Hurd folks, please give this a try if you feel like it (you can point it at nbd-server on your Linux machine).
Reply to:
- Follow-Ups:
- Re: nbd-server
- From: Wouter Verhelst <wouter@debian.org>
- Re: nbd-server
- References:
- nbd-server
- From: Wouter Verhelst <wouter@debian.org>
- nbd-server
- Prev by Date: Re: nbd-server
- Next by Date: Antwort: Re: Debian GNU or Debian GNU/Hurd?
- Previous by thread: Re: nbd-server
- Next by thread: Re: nbd-server
- Index(es):