Hi,
I am having problem while using get_disk_list ( ) in bin/fsdev_disks.py
The problem I am facing is it does not return the disk if it has no partitions 
on it. It only returns the device which is partitioned.

For example:
/dev/sda5 --> this is partition of /dev/sda5 is not mounted
/dev/sdb   --> this is a free disk

sda5 is listed but sdb is not listed.

I tried to debug this problem and it found to be in the following 'if' statement

if not partname[-1:].isdigit():
    continue

So please can anyone tell me that if I need device/disk which is not 
partitioned as well then can this if statement be removed or is there any other 
way?


Thanks and regards,
Shrirang


PROPRIETARY-CONFIDENTIAL INFORMATION INCLUDED

This electronic transmission, and any documents attached hereto, may contain 
confidential, proprietary and/or legally privileged information. The 
information is intended only for use by the recipient named above. If you 
received this electronic message in error, please notify the sender and delete 
the electronic message. Any disclosure, copying, distribution, or use of the 
contents of information received in error is strictly prohibited, and violators 
will be pursued legally.
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to