Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

this works great but in my experience sometimes you should add

  && sync
not sure why it's necessary only sometimes!
 help



The kernel has a cache used for block devices.

If you want to be more targeted:

    blockdev --flushbufs /dev/sda



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: