Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 21:38:35 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom_slice.c
Message-ID:  <200509142138.j8ELcZ3V099820@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rodrigc     2005-09-14 21:38:35 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_slice.c 
  Log:
  Fix so that when a slice or a partition is removed through g_slice_config(),
  it is destroyed in GEOM, in addition to being removed from /dev.
  Before this patch, if you applied a new MBR which deleted a slice,
  the deleted slice would not be in /dev, but it would still appear
  in kern.geom.conftxt and kern.geom.confxml, which would confused
  the diskPartitionEditor in sysinstall.
  
  Submitted by:   pjd
  Tested by:      pjd, rodrigc
  MFC after:      1 week
  
  Revision  Changes    Path
  1.58      +1 -0      src/sys/geom/geom_slice.c



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