> On 05/28/2014 06:46 PM, Alex Elsayed wrote: >> >> mark.doffman@xxxxxxxxxxxxxxx wrote: >> >>> From: Mark Doffman <mark.doffman@xxxxxxxxxxxxxxx> >>> >>> 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. >> >> <snip> >> >> 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:[<server-ip>:]<root-dir>[:<nfs-options>] >> root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>] >> 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://[<username>[:<password>]@]<server-ip>:<root-dir> >> >> 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. > > > An initramfs, and dracut, has been mentioned before as a possible solution. The reason I would prefer this in the kernel is simplicity. NFS root is in the kernel and we regularly use it without an initramfs. > > However simple dracut is still a more complex procedure, for something that is very easy to do in the kernel. > > Using a root device also has the advantage that it might produce smaller images for memory constrained devices. Just a +1 that we'd love this ability. Not having to keep an initramfs and kernel in sync would be a nice reduction in complexity in places where we know exactly how we're going to boot and don't need dracut's cornucopia of options. Thanks, -- Patrick Hahn -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html