On Fri, May 29, 2009 at 07:39:33PM +0200, Adam Hamsik wrote:
If DIOCGDINFO fails, newfs (and other tools using getdiskinfo())
will
use
DIOCGWEDGEINFO. Maybe having zvols should handle DIOCGWEDGEINFO ?
Yes but DIOCGWEDGEINFO is used only to get name of parent device on
which
DIOCGDINFO is later called. Everything which was received from
WEDGEINFO
ioctl
was later zeroed and replaced by information from CGDINFO call.
No, if WEDGEINFO was used, part2wedge is not called and informations
from
WEDGEINFO is not erased.