I am not a C coder, but I think adding a line to the validdisk[] array in photosyst.c should solve the problem. It is now
validdisk[] = { { "^ram[0-9][0-9]*$", {0}, (void *)0, NONTYPE, }, { "^loop[0-9][0-9]*$", {0}, (void *)0, NONTYPE, }, { "^sd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^dm-[0-9][0-9]*$", {0}, lvmmapname, LVMTYPE, }, { "^md[0-9][0-9]*$", {0}, nullmodname, MDDTYPE, }, { "^hd[a-z]$", {0}, nullmodname, DSKTYPE, }, { "^rd/c[0-9][0-9]*d[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, { "^cciss/c[0-9][0-9]*d[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, { "^fio[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "/host.*/bus.*/target.*/lun.*/disc", {0}, abbrevname1, DSKTYPE, }, { "^xvd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^dasd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^mmcblk[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, };
As you can see there is no line for ^vd[a-z] block devices.
I am not a C coder, but I think adding a line to the validdisk[] array in photosyst.c should solve the problem. It is now
validdisk[] = { 0-9][0- 9]*$", {0}, (void *)0, NONTYPE, }, 0-9][0- 9]*d[0- 9][0-9] *$", {0}, nullmodname, DSKTYPE, }, c[0-9][ 0-9]*d[ 0-9][0- 9]*$", {0}, nullmodname, DSKTYPE, }, */bus.* /target. */lun.* /disc", {0}, abbrevname1, DSKTYPE, }, a-z][a- z]*$", {0}, nullmodname, DSKTYPE, }, 0-9][0- 9]*$", {0}, nullmodname, DSKTYPE, },
{ "^ram[0-9][0-9]*$", {0}, (void *)0, NONTYPE, },
{ "^loop[
{ "^sd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, },
{ "^dm-[0-9][0-9]*$", {0}, lvmmapname, LVMTYPE, },
{ "^md[0-9][0-9]*$", {0}, nullmodname, MDDTYPE, },
{ "^hd[a-z]$", {0}, nullmodname, DSKTYPE, },
{ "^rd/c[
{ "^cciss/
{ "^fio[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, },
{ "/host.
{ "^xvd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, },
{ "^dasd[
{ "^mmcblk[
};
As you can see there is no line for ^vd[a-z] block devices.