freebsd-dev/sbin/geom
Andrey V. Elsukov 79d89bb0ab 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
Reviewed by:	marcel (previous version)
Approved by:	kib (mentor)
MFC after:	1 month
2010-06-21 08:24:50 +00:00
..
class Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart. 2010-06-21 08:24:50 +00:00
core Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart. 2010-06-21 08:24:50 +00:00
misc Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart. 2010-06-21 08:24:50 +00:00
Makefile Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00