zfsonlinux/zfs — pull request #525 by rlaager (2012-01-09 22:58:05+00:00)
Title: Properly handle /dev/vd* devices as whole disks

I was doing some ZFS testing with a KVM virtual machine. If I configure the disk as a SCSI disk, it shows up as sda and `zpool create tank sda` creates a GPT disk label, as expected. If I configure the disk as a virtio disk, it shows up as /dev/vda and `zpool create tank vda` does not create a GPT disk label. This commit fixes the vda case to behave like the sda case.