Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2008 17:21:46 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/geom/part g_part_bsd.c
Message-ID:  <200810251819.m9PIJ8FU001896@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2008-10-25 17:21:46 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/part        g_part_bsd.c 
  Log:
  SVN rev 184264 on 2008-10-25 17:21:46Z by marcel
  
  Invalid BSD disklabels have been created by sysinstall and
  are possibly still being created. The d_secperunit field
  contains the number of sectors of the disk and not of the
  slice/partition to which the disklabel applies.
  Rather than reject the disklabel, we now silently adjust
  the field. Existing code, like bslabel(8), does not seem
  to check the label that extensively and seems to adjust
  fields as a side-effect as well.
  In other words, it's not that important apparently, so
  gpart should not be too strict about it.
  
  Reported by: nyan@
  Reported by: Andriy Gapon <avg@icyb.net.ua>
  
  Revision  Changes    Path
  1.9       +6 -1      src/sys/geom/part/g_part_bsd.c



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