[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150129234254.GD15853@grep.be>
Date: Fri, 30 Jan 2015 00:42:54 +0100
From: Wouter Verhelst <w@...r.be>
To: Markus Pargmann <mpa@...gutronix.de>
Cc: Paul Clements <Paul.Clements@...eleye.com>,
nbd-general@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
kernel@...gutronix.de
Subject: Re: [Nbd] [RFC 4/4] nbd: Add support for nbd as root device
On Tue, Jan 13, 2015 at 02:44:25PM +0100, Markus Pargmann wrote:
> Adding support to nbd to use it as a root device. This code essentially
> provides a minimal nbd-client implementation within the kernel. It opens
> a socket and makes the negotiation with the server. Afterwards it passes
> the socket to the normal nbd-code to handle the connection.
>
> The arguments for the server are passed via module parameter. The
> module parameter has the format
> '[<SERVER_IP>:]<SERVER_PORT>/<EXPORT_NAME>'.
> SERVER_IP is optional. If it is not available it will use the
> root_server_addr transmitted through DHCP.
>
> Based on those arguments, the connection to the server is established
> and is connected to the nbd0 device. The rootdevice therefore is
> root=/dev/nbd0.
Not that I'm opposed to this, but you do realize that doing nbd-client
from initramfs or similar is possible, right? Most initramfs
implementations these days support it.
[...]
--
It is easy to love a country that is famous for chocolate and beer
-- Barack Obama, speaking in Brussels, Belgium, 2014-03-26
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists