Why does list-harddrives include CDROM drives, not just hard drives?

Solution Verified - Updated -

Issue

  • list-harddrives lists indeed hard drives, but also CDROM drives, which are not hard drives. We can work around that by removing /dev/sr* from the list, but from a command called "list hard drives" we would expect to get only a list of hard drives.
  • In RHEL 3 until 3 we used the python function drives = isys.hardDriveDict().keys() in kickstart. This does not work anymore in RHEL6. What is the alternative for this function to work in RHEL6 kickstart?

Environment

  • Red Hat Enterprise Linux (RHEL) 6.4 and before

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content