Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Disk driver command history

    I have a requirement to log the command history of all disk drives running in the system. I test disk drives. I was thinking the drivers could be modified to do this. Is this practical? If so, where would I log the history file? Where can I patch it in the drive to do this?

  2. #2
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    It may be as simple as turning on debugging in kernel conf.

  3. #3
    Are you talking about the turning that on so it goes into the kernel FIFO (output via DMESG) . If so, I need an accurate timestamp of command execution and I cannot get that from the kernel FIFO. I test hundreds of drives a day.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts