/[base]
ViewVC logotype

Revision 210322


Jump to revision: Previous Next
Author: ae
Date: Wed Jul 21 08:48:45 2010 UTC (13 years, 11 months ago)
Changed paths: 8
Log Message:
MFC r209388:
  Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart.
  Move code that converts params from humanized numbers to sectors count
  to subr.c and adjust comment.
  Add post-processing for "size" and "start offset" params in gpart,
  now they are properly converted to sectors count with known sector size
  that can be greater that 512 bytes.
  Also replace "unsigned long long" type to "off_t" for unify code since
  it used for medium size in libgeom(3) and DIOCGMEDIASIZE ioctl.

  PR:		bin/146277

MFC r209392:
  Check for overflow before it occurs. Also add check for
  negative numbers.

  Suggested by:	ache

Approved by:	mav (mentor)


Changed paths

Path Details
Directorystable/8/sbin/geom/ modified , props changed
Directorystable/8/sbin/geom/class/part/ modified , props changed
Directorystable/8/sbin/geom/class/part/geom_part.c modified , text changed
Directorystable/8/sbin/geom/class/stripe/ modified , props changed
Directorystable/8/sbin/geom/core/geom.c modified , text changed
Directorystable/8/sbin/geom/core/geom.h modified , text changed
Directorystable/8/sbin/geom/misc/subr.c modified , text changed
Directorystable/8/sbin/geom/misc/subr.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27