Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 14:19:11 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Message-ID:  <200412121419.iBCEJBg4048788@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2004-12-12 14:19:11 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_vfsops.c 
  Log:
  With the introduction of UFS2 we started looking for superblocks in
  four different locations on a prospective filesystem.
  
  If we found none, we forgot to invalidate the four buffers, thus the
  following sequence would fails:
  
          (md0 = blank disk)
          mount /dev/md0 /mnt
          (fails, no superblocks)
          newfs /dev/md0
          (writes using physio which does not go through buffercache).
          mount /dev/md0 /mnt
          (still fails, the four cached buffers still contain no superblocks)
  
  Found by:       ru
  
  Revision  Changes    Path
  1.263     +1 -0      src/sys/ufs/ffs/ffs_vfsops.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412121419.iBCEJBg4048788>