> - die "disk '$disk' does not exist\n" if !$conf->{$disk}; > + die "disk '$disk' does not exist\n" if !$conf->{$disk} && > !$conf->{pending}->{$disk}; > + > + my $drive = undef;
Code gets really complex and clumsy if we implement such things. It that really required? Why? My plan is to turn on 'hotplug' by default, so that code will (almost) never trigger? _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel