Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 20:57:25 +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/geom geom_mbr.c
Message-ID:  <200411282057.iASKvPPs038865@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2004-11-28 20:57:25 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_mbr.c 
  Log:
  Fix a long standing bug in geom_mbr which is only now exposed by the
  correct open/close behaviour of filesystems:
  
  When an ioctl to modify the MBR arrives, we cannot take for granted that
  we have the consumer open.
  
  The symptom is that one cannot run 'boot0cfg -s2 /dev/ad0' in single-user
  mode because / is the only open partition in only open r1w0e1.
  
  If it is not, we attempt to increase the write count by one and
  decrease it again afterwards.
  
  Presumably most if not all other slices suffer from the same problem.
  
  Revision  Changes    Path
  1.62      +14 -4     src/sys/geom/geom_mbr.c



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