func (r *Subresource) String() string {
	devaddr := r.Get("device_address").(string)
	if devaddr == "" {
		devaddr = "<new device>"
	}
	return fmt.Sprintf("%s (key %d at %s)", r.Addr(), r.Get("key").(int), devaddr)
}
func (r *Subresource) String() string {
	devaddr := r.Get("device_address").(string)
	if devaddr == "" {
		devaddr = "<new device>"
	}
	return fmt.Sprintf("%s (key %d at %s)", r.Addr(), r.Get("key").(int), devaddr)
}
// String prints out the device sub-resource's information including the ID at
// time of instantiation, the short name of the disk, and the current device
// key and address.