[pve-devel] restrict scsi-block to /dev/disk/
Alexandre DERUMIER
aderumier at odiso.com
Mon Mar 12 07:48:38 CET 2012
Hi,
Why do you mean by major/minor device number ?
we can also try to test if
/sys/block/sdXXX/device/scsi_device
exist
/dev/disk/by-id/scsi-XXXX are symlink to /dev/sdX
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Derumier Alexandre" <aderumier at odiso.com>, pve-devel at pve.proxmox.com
Envoyé: Lundi 12 Mars 2012 07:40:41
Objet: RE: [pve-devel] restrict scsi-block to /dev/disk/
That test does not look correct. /dev/disk/ can point to any block device, not only scsi.
Maybe we can just test the major/minor device number instead?
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre
> Sent: Samstag, 10. März 2012 12:57
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] restrict scsi-block to /dev/disk/
>
> use only scsi-block with /dev/disk devices and not lvm.
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
--
--
Alexandre D erumier
Ingénieur Système
Fixe : 03 20 68 88 90
Fax : 03 20 68 90 81
45 Bvd du Général Leclerc 59100 Roubaix - France
12 rue Marivaux 75002 Paris - France
More information about the pve-devel
mailing list