1. Jul 15, 2009
  2. Jul 14, 2009
    • Valerie Aurora's avatar
      mount: when a remount to rw fails, quit and return an error · 3bb3fe8c
      Valerie Aurora authored
      
      A nice feature of mount is that when you attempt to mount a file
      system read-write, and that fails because it can only be mounted
      read-only, it goes ahead and retries the mount with the "ro" option
      and returns success if that succeeds.  However, this code path is also
      followed when you are doing a remount for the sole purpose of changing
      the mount from read-only to read-write - the change fails, but mount
      returns success.  Instead, check if we are attempting to remount and
      fail out immediately, instead of retrying with the old "ro" option and
      whee, happily "succeeding."
      
      Signed-off-by: default avatarValerie Aurora (Henson) <vaurora@redhat.com>
      Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
      3bb3fe8c
    • Daniel Drake's avatar
      switch_root: add subroot support · a692a874
      Daniel Drake authored
      
      The current switch_root can only switch to a new root that is the root
      of a mount point.
      
      This patch adds support for "subroots", where the new root is
      somewhere below a mount point. It does this by adding in a few extra
      steps to chroot into the subroot after the enclosing partition has
      been moved and entered.
      
      This will be used by OLPC, who sort-of have 2 copies of Fedora stored
      on a single partition under different directory trees, where the
      initramfs decides which one to boot into
      
      [kzak@redhat.com:
          - port to the current u-l-ng switch_root code
          - don't use static buffer for "dir" in get_parent_mount()]
      
      CC: Peter Jones <pjones@redhat.com>
      Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
      Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
      a692a874
  3. Jul 13, 2009
  4. Jul 05, 2009
  5. Jul 03, 2009
  6. Jul 02, 2009
  7. Jul 01, 2009
  8. Jun 30, 2009
  9. Jun 29, 2009