سؤال

i need to get a list or any other enumerable class with info about any connected SCSI-disks, with info just like /proc/scsi/sg/devices Please help me and thanks in advance

هل كانت مفيدة؟

المحلول

You've basically named a solution in your question -- just open /proc/scsi/sg/devices and read from it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top