How can I flush the cache per device and not on the entire system?

Solution Verified - Updated -

Issue

  • I know it's possible to flush the device cache maintained in memory for the whole system by using the sync command, but I'd like to flush the caches on a per device basis.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

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.