vfs_synth - rewrite
authorAlex Hornung <ahornung@gmail.com>
Sun, 14 Mar 2010 08:57:36 +0000 (08:57 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sun, 14 Mar 2010 12:37:31 +0000 (12:37 +0000)
commit4c83c1d38c3f000618b4d9d46f6e5a50a1655af8
tree8940fa73a2eadd0e7f212fed77934a2db20c0cde
parent46077e846b0bcee3bda14b3650a2f4be79568826
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
sys/kern/vfs_synth.c