git: vfs_synth - rewrite

Alex Hornung alexh at crater.dragonflybsd.org
Sun Mar 14 05:41:09 PDT 2010


commit 4c83c1d38c3f000618b4d9d46f6e5a50a1655af8
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Mar 14 08:57:36 2010 +0000

    vfs_synth - rewrite
    
    * Rewrite the whole vfs_synth mess to be compatible with devfs. Now we
      create a synthetic mountpoint and mount devfs on it. We then just
      nlookup() whatever device we need on that mountpoint.
    
    * This also fixes vinum rootmount. To use vinum as a root,
      vfs.root.mountfrom in /boot/loader.conf has to be set to
      "<fs>:vinum/vinumroot" where <fs> can be ufs or hammer.
    
    Reported-by: Rumko, tuxillo
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1565

Summary of changes:
 sys/kern/vfs_synth.c |  210 ++++++++++++++++++++-----------------------------
 1 files changed, 86 insertions(+), 124 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4c83c1d38c3f000618b4d9d46f6e5a50a1655af8


-- 
DragonFly BSD source repository





More information about the Commits mailing list