Messages in this thread | | | Date | Fri, 30 Jan 2015 00:42:54 +0100 | From | Wouter Verhelst <> | 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
| |