cvs commit: src/sys/geom geom_slice.c

Craig Rodrigues rodrigc at
Wed Sep 14 14:38:37 PDT 2005

rodrigc     2005-09-14 21:38:35 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_slice.c 
  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

More information about the cvs-src mailing list