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, 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