Date: Wed, 16 Jun 2004 10:44:26 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/geom/misc subr.c subr.h Message-ID: <200406161044.i5GAiQIY085287@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2004-06-16 10:44:26 UTC FreeBSD src repository Modified files: sbin/geom/misc subr.c subr.h Log: Implement 3 new functions: - g_lcm() - calculates Least Common Multiple of two given values, it is helpful when we need to find sector size for provider which is based on disks with different sector size; - g_get_mediasize() - returns media size of given provider; - g_get_sectorsize() - returns sector size of given provider; Those function aren't used now, but are used by geom_mirror which will be committed soon. Revision Changes Path 1.2 +72 -4 src/sbin/geom/misc/subr.c 1.2 +5 -0 src/sbin/geom/misc/subr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406161044.i5GAiQIY085287>