def METHOD_NAME(self, dev):
    dev = dev.replace("/dev/vx/dmp/", "/dev/vx/rdmp/")
    if "dmp/" in dev:
        tree = utilities.devtree.veritas.DevTreeVeritas()
        wwid = tree.vx_inq(dev)
        vid = tree.vx_vid(dev)
        pid = tree.vx_pid(dev)
        size = 0
    else:
        cmd = ["mpathadm", "show", "lu", dev]
        (out, err, ret) = justcall(cmd)
        if ret != 0:
            return
        if "Error: Logical-unit " + dev + " is not found" in err:
            dsk = dev.replace("/dev/rdsk/", "")
            dsk = dsk.replace("s2", "")
            wwid = Env.nodename + "." + dsk
            vid = "LOCAL"
            pid = ""
            size = 0
        else:
            wwid = ""
            vid = ""
            pid = ""
            size = 0
            for line in out.split('\n'):
                if line.startswith("\tVendor:"):
                    vid = self.get_val(line)
                elif line.startswith("\tProduct:"):
                    pid = self.get_val(line)
                elif line.startswith("\tName:"):
                    wwid = self.get_val(line)
    size = self.get_size(dev)
    self.h[dev] = dict(wwid=wwid, vid=vid, pid=pid, size=size)