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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.