From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Elsayed Subject: Re: [PATCH v3 0/2] Add ceph root filesystem Date: Wed, 28 May 2014 16:46:09 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Return-path: Received: from plane.gmane.org ([80.91.229.3]:60559 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbaE1Xqb (ORCPT ); Wed, 28 May 2014 19:46:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WpnY9-0004ma-VB for ceph-devel@vger.kernel.org; Thu, 29 May 2014 01:46:25 +0200 Received: from 50.245.141.77 ([50.245.141.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 May 2014 01:46:25 +0200 Received: from eternaleye by 50.245.141.77 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 May 2014 01:46:25 +0200 Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel@vger.kernel.org mark.doffman@codethink.co.uk wrote: > From: Mark Doffman > > Hi All, > > The following is a third version of a patch series that adds the ability > to use a ceph distributed file system as the root device. Would you mind expanding on why you want to do this in the kernel, instead of using an initramfs? For example, dracut supports the following syntax, and sets it up using the same tools as mounting NFS in a running system rather than the kernel's nfsroot support: root=nfs:[:][:] root=nfs4:[:][:] root={dhcp|dhcp6} root=dhcp alone directs initrd to look at the DHCP root-path where NFS options can be specified. It also supports CIFS, as a further illustration: root=cifs://[[:]@]: Extending this to Ceph seems much simpler than implementing such a thing in the kernel, especially given dracut's modular nature, and it's easy enough to compile an initramfs into the kernel.