All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/9] netroot: modular support for network root devices
@ 2009-06-01  5:24 David Dillow
       [not found] ` <cover.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
  0 siblings, 1 reply; 28+ messages in thread
From: David Dillow @ 2009-06-01  5:24 UTC (permalink / raw)
  To: initramfs

This builds on the NFS root work to allow other network methods to hook
into the parsing and network infrastructure. One network interface is
configured at a time, but if we don't find a root there, it may not be
unconfigured -- this should probably be added.

I implemented some of the legacy formats we talked about, but not all of
them, and I may not have them 100% correct. That handling has seen less
testing than the NFS methods I usually use. I have verified that this set
will work with root=dhcp w/ NFS, and no root, but nbdroot= for NBD.

I think we can offer some support for LVM/LUKS over NBD, but that's low
on my list at the moment -- it was more important to shine some light
on this to see if it gets burned up. Documentation would be another high
priority, as in the formats supported as well as the interfaces and
expectations of the handlers.


David Dillow (9):
  nfsroot: move to same sort order as block methods
  block root: split out resume parsing and udev rules
  dracut: add cmdline hook
  cmdline: cleanup handling and block: handler
  resume: add support for labeled resume devices
  dracut-lib: add source_all to library
  netroot: add common handler for network root devices
  nfsroot: move to netroot framework
  Add NBD support

 dracut                                            |    2 +-
 modules.d/40network/60-net.rules                  |    1 +
 modules.d/40network/dhcp-fallback.sh              |   14 +++
 modules.d/40network/ifup                          |    8 +-
 modules.d/40network/install                       |    2 +
 modules.d/40network/netroot                       |   52 +++++++++
 modules.d/40nfsroot/60-nfsroot.rules              |    1 -
 modules.d/40nfsroot/nfsroot                       |  125 ---------------------
 modules.d/{40nfsroot => 95nbd}/check              |    4 +-
 modules.d/95nbd/install                           |    7 +
 modules.d/95nbd/nbd-netroot.sh                    |   11 ++
 modules.d/95nbd/nbdroot                           |   96 ++++++++++++++++
 modules.d/95nbd/parse-nbdroot.sh                  |   49 ++++++++
 modules.d/{40nfsroot => 95nfs}/check              |    0
 modules.d/{40nfsroot => 95nfs}/install            |   10 +--
 modules.d/95nfs/nfs-netroot.sh                    |   52 +++++++++
 modules.d/95nfs/nfsroot                           |   82 ++++++++++++++
 modules.d/{40nfsroot => 95nfs}/nfsroot-cleanup.sh |    0
 modules.d/95nfs/parse-nfsroot.sh                  |   48 ++++++++
 modules.d/95resume/install                        |    4 +-
 modules.d/95resume/parse-resume.sh                |    8 ++
 modules.d/95resume/resume-genrules.sh             |    8 ++
 modules.d/95rootfs-block/block-genrules.sh        |   10 ++
 modules.d/95rootfs-block/genrules.sh              |   14 ---
 modules.d/95rootfs-block/install                  |    6 +-
 modules.d/95rootfs-block/parse-block.sh           |   16 +++
 modules.d/95rootfs-block/parse-root-opts.sh       |   21 +---
 modules.d/99base/dracut-lib                       |   22 ++++
 modules.d/99base/init                             |   31 ++++-
 29 files changed, 522 insertions(+), 182 deletions(-)
 create mode 100755 modules.d/40network/dhcp-fallback.sh
 create mode 100755 modules.d/40network/netroot
 delete mode 100644 modules.d/40nfsroot/60-nfsroot.rules
 delete mode 100755 modules.d/40nfsroot/nfsroot
 copy modules.d/{40nfsroot => 95nbd}/check (61%)
 create mode 100755 modules.d/95nbd/install
 create mode 100755 modules.d/95nbd/nbd-netroot.sh
 create mode 100755 modules.d/95nbd/nbdroot
 create mode 100755 modules.d/95nbd/parse-nbdroot.sh
 rename modules.d/{40nfsroot => 95nfs}/check (100%)
 rename modules.d/{40nfsroot => 95nfs}/install (83%)
 create mode 100755 modules.d/95nfs/nfs-netroot.sh
 create mode 100755 modules.d/95nfs/nfsroot
 rename modules.d/{40nfsroot => 95nfs}/nfsroot-cleanup.sh (100%)
 create mode 100755 modules.d/95nfs/parse-nfsroot.sh
 create mode 100755 modules.d/95resume/resume-genrules.sh
 create mode 100755 modules.d/95rootfs-block/block-genrules.sh
 delete mode 100755 modules.d/95rootfs-block/genrules.sh
 create mode 100755 modules.d/95rootfs-block/parse-block.sh

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2009-06-01 13:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01  5:24 [RFC PATCH 0/9] netroot: modular support for network root devices David Dillow
     [not found] ` <cover.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  2:45   ` [RFC PATCH 1/9] nfsroot: move to same sort order as block methods David Dillow
     [not found]     ` <145ca9e5b331c454ebe13005fdfaed3749ef50f5.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  9:20       ` Seewer Philippe
     [not found]         ` <4A239D4B.2050009-omB+W0Dpw2o@public.gmane.org>
2009-06-01 10:56           ` David Dillow
2009-06-01  3:19   ` [RFC PATCH 2/9] block root: split out resume parsing and udev rules David Dillow
2009-06-01  3:33   ` [RFC PATCH 3/9] dracut: add cmdline hook David Dillow
2009-06-01  4:21   ` [RFC PATCH 4/9] cmdline: cleanup handling and block: handler David Dillow
     [not found]     ` <d15c7a1ab71af9ab4fccd51fa02915e949f39c86.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  9:26       ` Victor Lowther
     [not found]         ` <1243848391.647.13.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-06-01 10:54           ` David Dillow
     [not found]             ` <1243853668.3844.117.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-01 11:02               ` Victor Lowther
     [not found]                 ` <1243854157.647.22.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-06-01 11:15                   ` David Dillow
     [not found]                     ` <1243854952.3844.134.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-01 11:45                       ` Victor Lowther
     [not found]                         ` <1243856759.647.34.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-06-01 11:58                           ` David Dillow
2009-06-01 12:59               ` Sergey Vlasov
     [not found]                 ` <20090601125908.GB4160-TEYkr/UGJhVKdHEj4xO92LjjLBE8jN/0@public.gmane.org>
2009-06-01 13:50                   ` David Dillow
2009-06-01  4:25   ` [RFC PATCH 5/9] resume: add support for labeled resume devices David Dillow
     [not found]     ` <9810ce7e38ec1ba52a9c2f5f5047ea779d1006a3.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  9:30       ` Victor Lowther
     [not found]         ` <1243848618.647.15.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-06-01 10:55           ` David Dillow
2009-06-01  4:39   ` [RFC PATCH 6/9] dracut-lib: add source_all to library David Dillow
2009-06-01  4:42   ` [RFC PATCH 7/9] netroot: add common handler for network root devices David Dillow
     [not found]     ` <7d7efa4a3d959a5f834cd1d5e73c1e15112aa77c.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  8:59       ` Seewer Philippe
     [not found]         ` <4A23985C.9040509-omB+W0Dpw2o@public.gmane.org>
2009-06-01 11:02           ` David Dillow
2009-06-01  4:53   ` [RFC PATCH 8/9] nfsroot: move to netroot framework David Dillow
2009-06-01  4:59   ` [RFC PATCH 9/9] Add NBD support David Dillow
     [not found]     ` <2b117123ecd2d93cec8598593e966029dfb4777e.1243833882.git.dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
2009-06-01  9:41       ` Victor Lowther
     [not found]         ` <1243849301.647.20.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-06-01 10:55           ` David Dillow
     [not found]             ` <1243853722.3844.122.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-01 11:14               ` Victor Lowther
2009-06-01  8:58   ` [RFC PATCH 0/9] netroot: modular support for network root devices Seewer Philippe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.