Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 19:25:13 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/geom/part g_part_ebr.c
Message-ID:  <200902211925.n1LJPPk6059170@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2009-02-21 19:25:13 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/part        g_part_ebr.c 
  Log:
  SVN rev 188899 on 2009-02-21 19:25:13Z by marcel
  
  o  When creating the EBR scheme, set the number of entries
     properly. Otherwise the minimum of 1 is used and you can
     only insert a single partition/slice and only at sector
     0 (index 1).
  o  When adding a partition/slice, recalculate the index after
     the start and size of the partition/slice are adjusted to
     make them a multiple of the track size. Since the precheck
     method sets the index based on the start of the partition
     as provided by the user, we know that we're off by at most
     1 and adjusting the index is safe.
  
  Revision  Changes    Path
  1.5       +2 -0      src/sys/geom/part/g_part_ebr.c



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