Re: [Nbd] Can I find a nbd driver?
- To: Jiancong Xie <jianc.xie@...17...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] Can I find a nbd driver?
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 30 May 2007 03:14:26 +0200
- Message-id: <20070530011426.GA12835@...3...>
- In-reply-to: <7da130e0705290124j3f443be7wda16d99ba65357dc@...18...>
- References: <7da130e0705290124j3f443be7wda16d99ba65357dc@...18...>
On Tue, May 29, 2007 at 04:24:44PM +0800, Jiancong Xie wrote:
> Hi ,all
> I want to install a kernel module which write to remote node's file
> through the /dev/nbd device . But I think i need to write the driver to make
> this work.
Eh, no, you don't. Just point nbd-server to the file on the remote node,
and connect the client. That's exactly what the nbd-client is supposed
to do.
Of course the semantics will be slightly different (you can't write past
the end of a block device, while you can write past the end of a file,
etc.), but apart from that, nbd seems like exactly what you need.
Or am I misunderstanding something?
--
Shaw's Principle:
Build a system that even a fool can use, and only a fool will
want to use it.
Reply to: